diff options
author | serg@serg.mylan <> | 2005-11-17 22:52:31 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2005-11-17 22:52:31 +0100 |
commit | e0abc22bfc77081c41de50b3277a7c8e761c2deb (patch) | |
tree | d8d084fac2edf719bb5f0ed8d2db29cfa7df4f66 /mysql-test/r/csv.result | |
parent | a42b3730aa2fa654cc90d9649f61b4e56ce35734 (diff) | |
download | mariadb-git-e0abc22bfc77081c41de50b3277a7c8e761c2deb.tar.gz |
BUG#13406 - incorrect amount of "records deleted" in CSV.
Fallback to row-wise delete if number or rows in the table is unknown
Diffstat (limited to 'mysql-test/r/csv.result')
-rw-r--r-- | mysql-test/r/csv.result | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mysql-test/r/csv.result b/mysql-test/r/csv.result index 2e3d11ad461..3c87c1f4b92 100644 --- a/mysql-test/r/csv.result +++ b/mysql-test/r/csv.result @@ -4976,3 +4976,27 @@ c1 4 5 DROP TABLE bug14672; +create table t1 (a int) engine=csv; +insert t1 values (1); +delete from t1; +affected rows: 1 +delete from t1; +affected rows: 0 +insert t1 values (1),(2); +delete from t1; +affected rows: 2 +insert t1 values (1),(2),(3); +flush tables; +delete from t1; +affected rows: 3 +insert t1 values (1),(2),(3),(4); +flush tables; +select count(*) from t1; +count(*) +4 +delete from t1; +affected rows: 4 +insert t1 values (1),(2),(3),(4),(5); +truncate table t1; +affected rows: 0 +drop table t1; |