1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Merge with 4.0 (Fix bug in LEFT JOIN and EXPLAIN on empty table)

This commit is contained in:
monty@mashka.mysql.fi
2003-01-20 18:48:10 +02:00
5 changed files with 87 additions and 45 deletions

View File

@ -1,5 +1,8 @@
drop table if exists t1;
create table t1 (id int not null, str char(10), unique(str));
explain select * from t1;
table type possible_keys key key_len ref rows Extra
t1 system NULL NULL NULL NULL 0 const row not found
insert into t1 values (1, null),(2, null),(3, "foo"),(4, "bar");
select * from t1 where str is null;
id str