diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2010-03-26 11:46:18 +0400 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2010-03-26 11:46:18 +0400 |
commit | 3658bde7361e862fd87ae5e28f03cc52c4e9fa6a (patch) | |
tree | 1a93ebbfeade1cda83dd2afabd4b3ef3991556e2 /mysql-test/r | |
parent | 28e95ba535e175dc696fe7a739736ae9bf2a2b36 (diff) | |
parent | f57839cd6060ff2d8edb4bf0875b67d0176d88e4 (diff) | |
download | mariadb-git-3658bde7361e862fd87ae5e28f03cc52c4e9fa6a.tar.gz |
5.0-bugteam->5.1-bugteam merge
Diffstat (limited to 'mysql-test/r')
-rw-r--r-- | mysql-test/r/join.result | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/r/join.result b/mysql-test/r/join.result index 6ffb4c59481..940b3b4102e 100644 --- a/mysql-test/r/join.result +++ b/mysql-test/r/join.result @@ -1134,6 +1134,18 @@ Warnings: Note 1003 select 1 AS `1` from `test`.`t1` left join `test`.`t1` `t2` on((1 = 1)) left join (`test`.`t1` left join `test`.`t1` `t2` on((1 = 1))) on(rand()) where 1 DROP VIEW v1; DROP TABLE t1; +# +# Bug#52177 crash with explain, row comparison, join, text field +# +CREATE TABLE t1 (a TINYINT, b TEXT, KEY (a)); +INSERT INTO t1 VALUES (0,''),(0,''); +FLUSH TABLES; +EXPLAIN SELECT 1 FROM t1 LEFT JOIN t1 a ON 1 +WHERE ROW(t1.a, 1111.11) = ROW(1111.11, 1111.11) AND +ROW(t1.b, 1111.11) <=> ROW('',''); +id select_type table type possible_keys key key_len ref rows Extra +1 SIMPLE NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables +DROP TABLE t1; End of 5.0 tests. CREATE TABLE t1 (f1 int); CREATE TABLE t2 (f1 int); |