diff options
author | kroki@mysql.com <> | 2006-05-03 18:02:43 +0400 |
---|---|---|
committer | kroki@mysql.com <> | 2006-05-03 18:02:43 +0400 |
commit | 96f0aa3cfbb58810516e7f07505153f303bbcad8 (patch) | |
tree | c58eeded40e2e6c11428797b1ac18a15eb1c9ee9 /mysql-test/r/explain.result | |
parent | c40f8557dce50aabccc2f1fc228c7a3ebdceb55f (diff) | |
download | mariadb-git-96f0aa3cfbb58810516e7f07505153f303bbcad8.tar.gz |
Bug#15463: EXPLAIN SELECT..INTO hangs the client (QB, command line)
There were two distict bugs: parse error was returned for valid
statement and that error wasn't reported to the client.
The fix ensures that EXPLAIN SELECT..INTO is accepted by parser and any
other parse error will be reported to the client.
Diffstat (limited to 'mysql-test/r/explain.result')
-rw-r--r-- | mysql-test/r/explain.result | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/explain.result b/mysql-test/r/explain.result index d66dec741bd..75e1548cdee 100644 --- a/mysql-test/r/explain.result +++ b/mysql-test/r/explain.result @@ -53,3 +53,7 @@ id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE таб ref инд0,инд01 инд0 5 const 1 Using where; Using index drop table таб; set names latin1; +select 3 into @v1; +explain select 3 into @v1; +id select_type table type possible_keys key key_len ref rows Extra +1 SIMPLE NULL NULL NULL NULL NULL NULL NULL No tables used |