summaryrefslogtreecommitdiff
path: root/mysql-test/r/csv.result
diff options
context:
space:
mode:
authorbrian@zim.(none) <>2007-01-04 11:41:17 -0800
committerbrian@zim.(none) <>2007-01-04 11:41:17 -0800
commit452a1331b27ede1e8ef9baf274708f5cd4258edf (patch)
tree16c9a94b608d1c28f7cf79bc07dd463759cdf1c8 /mysql-test/r/csv.result
parent6ff70926985c49a32bab682d5ef6e54dcca86782 (diff)
downloadmariadb-git-452a1331b27ede1e8ef9baf274708f5cd4258edf.tar.gz
The CSV format has always relied on numbers being quoted, which doesn't always happen. This fixes that so that numbers can now be unquoted (and the output does this as well so that the log takes up less space).
Diffstat (limited to 'mysql-test/r/csv.result')
-rw-r--r--mysql-test/r/csv.result26
1 files changed, 21 insertions, 5 deletions
diff --git a/mysql-test/r/csv.result b/mysql-test/r/csv.result
index 32ca47e20d2..6456eb1d1ba 100644
--- a/mysql-test/r/csv.result
+++ b/mysql-test/r/csv.result
@@ -5210,16 +5210,32 @@ create table bug22080_3 (id int,string varchar(64)) Engine=CSV;
insert into bug22080_1 values(1,'string');
insert into bug22080_1 values(2,'string');
insert into bug22080_1 values(3,'string');
-"1","string"
+1,"string"
2","string"
-"3","string"
+3,"string"
check table bug22080_2;
Table Op Msg_type Msg_text
test.bug22080_2 check error Corrupt
-"1","string"
-"2",string"
-"3","string"
+1,"string"
+2,"string"
+3,"string"
check table bug22080_3;
Table Op Msg_type Msg_text
test.bug22080_3 check error Corrupt
drop tables bug22080_1,bug22080_2,bug22080_3;
+create table float_test (id float,string varchar(64)) Engine=CSV;
+insert into float_test values(1.0,'string');
+insert into float_test values(2.23,'serg.g');
+insert into float_test values(0.03,'string');
+insert into float_test values(0.19,'string');
+insert into float_test values(.67,'string');
+insert into float_test values(9.67,'string');
+select * from float_test;
+id string
+1 string
+2.23 serg.g
+0.03 string
+0.19 string
+0.67 string
+9.67 string
+drop table float_test;