diff options
author | monty@mashka.mysql.fi <> | 2003-03-07 12:36:52 +0200 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2003-03-07 12:36:52 +0200 |
commit | 987f4c4d8b32e3871c2ec0c4c3acb2cd8d513041 (patch) | |
tree | b7b683cfb2aa34dc7387c8098c3d38fe143f5607 /mysql-test/r/delete.result | |
parent | d56e2acf50715327e66045366da46e5fe2ddda09 (diff) | |
download | mariadb-git-987f4c4d8b32e3871c2ec0c4c3acb2cd8d513041.tar.gz |
Fixed AUTO_INCREMENT handling in MyISAM (last auto_increment patch broke things)
Some after merge fixes
Diffstat (limited to 'mysql-test/r/delete.result')
-rw-r--r-- | mysql-test/r/delete.result | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/r/delete.result b/mysql-test/r/delete.result index c2230722aa6..582ab894233 100644 --- a/mysql-test/r/delete.result +++ b/mysql-test/r/delete.result @@ -24,3 +24,18 @@ create table t1 (a bigint not null, primary key (a,a,a,a,a,a,a,a,a,a)); insert into t1 values (2),(4),(6),(8),(10),(12),(14),(16),(18),(20),(22),(24),(26),(23),(27); delete from t1 where a=27; drop table t1; +CREATE TABLE t1 ( +bool char(0) default NULL, +not_null varchar(20) binary NOT NULL default '', +misc integer not null, +PRIMARY KEY (not_null) +) TYPE=MyISAM; +INSERT INTO t1 VALUES (NULL,'a',4), (NULL,'b',5), (NULL,'c',6), (NULL,'d',7); +select * from t1 where misc > 5 and bool is null; +bool not_null misc +NULL c 6 +NULL d 7 +delete from t1 where misc > 5 and bool is null; +select * from t1 where misc > 5 and bool is null; +bool not_null misc +drop table t1; |