diff options
author | monty@hundin.mysql.fi <> | 2002-03-12 11:52:41 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-03-12 11:52:41 +0200 |
commit | 8eadb024dcf60ad16c9d9246a9f8cdfeeaa501e9 (patch) | |
tree | cc5ddb707fd6b0aa9b53c89ae0d0fc731486fef9 /mysql-test/t/heap.test | |
parent | c4b8c1b6c053a51d5c4187145741dda5ea20715a (diff) | |
download | mariadb-git-8eadb024dcf60ad16c9d9246a9f8cdfeeaa501e9.tar.gz |
Fixed mysqldumpslow for new dump format.
Fix for HEAP tables with many rows deleted.
Add '' arround database names in SHOW GRANT
Diffstat (limited to 'mysql-test/t/heap.test')
-rw-r--r-- | mysql-test/t/heap.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/heap.test b/mysql-test/t/heap.test index 1b7175d375c..ef7e3239a96 100644 --- a/mysql-test/t/heap.test +++ b/mysql-test/t/heap.test @@ -128,3 +128,13 @@ SELECT * FROM t1 WHERE b<=>NULL; --error 1062 INSERT INTO t1 VALUES (1,3); DROP TABLE t1; + +# +# Test when deleting all rows +# + +CREATE TABLE t1 (a int not null, primary key(a)) type=heap; +INSERT into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10),(11); +DELETE from t1 where a < 100; +SELECT * from t1; +DROP TABLE t1; |