diff options
author | unknown <serg@serg.mylan> | 2003-05-03 18:08:11 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-05-03 18:08:11 +0200 |
commit | 155b8e001307bced530900fe92644c1daa929fb1 (patch) | |
tree | 819bee9fd1d5da0ae3e79f2aed4b19888b6666f6 /mysql-test/t/delete.test | |
parent | ba886f1086b4add9c3421988a57758eac9203f4e (diff) | |
download | mariadb-git-155b8e001307bced530900fe92644c1daa929fb1.tar.gz |
"delete from table where const" bug fixed
Diffstat (limited to 'mysql-test/t/delete.test')
-rw-r--r-- | mysql-test/t/delete.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/delete.test b/mysql-test/t/delete.test index 13fa617b3cf..904d959d148 100644 --- a/mysql-test/t/delete.test +++ b/mysql-test/t/delete.test @@ -53,5 +53,11 @@ select * from t1 where misc > 5 and bool is null; delete from t1 where misc > 5 and bool is null; select * from t1 where misc > 5 and bool is null; +select count(*) from t1; +delete from t1 where 1 > 2; +select count(*) from t1; +delete from t1 where 3 > 2; +select count(*) from t1; + drop table t1; |