Don't quote FLOAT or DOUBLE in Quoter::quote_val().

This commit is contained in:
Daniel Nichter
2013-10-10 15:58:02 -07:00
parent 5e46d013a9
commit 166173a318
4 changed files with 50 additions and 19 deletions

View File

@@ -48,7 +48,7 @@ $output = `$trunk/bin/pt-table-sync --sync-to-master h=127.1,P=12346,u=msandbox,
$output = remove_traces($output);
is(
$output,
"REPLACE INTO `test`.`fl`(`id`, `f`, `d`) VALUES ('1', '1.0000011921', '2.0000012');
"REPLACE INTO `test`.`fl`(`id`, `f`, `d`) VALUES ('1', 1.0000011921, 2.0000012);
",
'No --float-precision so double col diff at high precision (issue 410)'
);