diff options
author | unknown <petr@mysql.com> | 2005-11-06 02:11:12 +0300 |
---|---|---|
committer | unknown <petr@mysql.com> | 2005-11-06 02:11:12 +0300 |
commit | b0829011b8053058f0419aee48da03970654cbc6 (patch) | |
tree | 26cfc43e4f5200a600ec917cf0ceba7232e21053 /mysql-test/r/csv.result | |
parent | 1b65c7041383073eee99deebe8569399f06e83ee (diff) | |
download | mariadb-git-b0829011b8053058f0419aee48da03970654cbc6.tar.gz |
Fix Bug#14672 Bug in deletion
mysql-test/r/csv.result:
correct result file
mysql-test/t/csv.test:
Add test for a bug
sql/examples/ha_tina.cc:
Add O_APPEND flag to my_open. We should always add rows to the end of file
Diffstat (limited to 'mysql-test/r/csv.result')
-rw-r--r-- | mysql-test/r/csv.result | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mysql-test/r/csv.result b/mysql-test/r/csv.result index 78a1f34636c..2e3d11ad461 100644 --- a/mysql-test/r/csv.result +++ b/mysql-test/r/csv.result @@ -4949,3 +4949,30 @@ val 6 6 DROP TABLE bug13894; +DROP TABLE IF EXISTS bug14672; +CREATE TABLE bug14672 (c1 integer) engine = CSV; +INSERT INTO bug14672 VALUES (1), (2), (3); +SELECT * FROM bug14672; +c1 +1 +2 +3 +DELETE FROM bug14672 WHERE c1 = 2; +SELECT * FROM bug14672; +c1 +1 +3 +INSERT INTO bug14672 VALUES (4); +SELECT * FROM bug14672; +c1 +1 +3 +4 +INSERT INTO bug14672 VALUES (5); +SELECT * FROM bug14672; +c1 +1 +3 +4 +5 +DROP TABLE bug14672; |