diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2002-06-11 22:45:51 +0300 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2002-06-11 22:45:51 +0300 |
commit | bf95234b05d479edc481445a175db959e6cba6f2 (patch) | |
tree | 486244434432866056db35237ee164d19478a16d /mysql-test/r | |
parent | 70aa7424c41c45a8fb171bbdd9e24d74b70a7765 (diff) | |
download | mariadb-git-bf95234b05d479edc481445a175db959e6cba6f2.tar.gz |
A fix for multi-table delete with tables optimised away.
Still not able to make a proper test case as this crashes on files
where key and data pointers are 4 bytes each. Possibly a proper
test case would require myisampack.
sql/sql_lex.cc:
Just in case ...
Diffstat (limited to 'mysql-test/r')
-rw-r--r-- | mysql-test/r/multi_update.result | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/r/multi_update.result b/mysql-test/r/multi_update.result index b31677069af..e6622916252 100644 --- a/mysql-test/r/multi_update.result +++ b/mysql-test/r/multi_update.result @@ -66,7 +66,7 @@ select count(*) from t3 where id3; count(*) 0 drop table t1,t2,t3; -create table t1(id1 int not null auto_increment primary key, t varchar(100)); -create table t2(id2 int not null, t varchar(100), index(id2)); -delete t1, t2 from t2,t1 where t1.id1 = t2.id2 and t1.id1 > 100; +create table t1(id1 int not null primary key, t varchar(100)) pack_keys = 1; +create table t2(id2 int not null, t varchar(100), index(id2)) pack_keys = 1; +delete t1 from t1,t2 where t1.id1 = t2.id2 and t1.id1 > 500; drop table t1,t2; |