diff options
author | unknown <ram@gw.mysql.r18.ru> | 2004-11-16 14:36:25 +0400 |
---|---|---|
committer | unknown <ram@gw.mysql.r18.ru> | 2004-11-16 14:36:25 +0400 |
commit | 0f9f2b02c1f87eef80b1ff0a6873be28ddcfc3fe (patch) | |
tree | 114e6c45ed3d65c4ddd427cac40a9adb36199f1d /mysql-test/t/select.test | |
parent | a2b3d71d1f1c866406b691e6b15de275b0d8dceb (diff) | |
download | mariadb-git-0f9f2b02c1f87eef80b1ff0a6873be28ddcfc3fe.tar.gz |
A fix (bug #6449: DO server-crashing bug).
sql/sql_yacc.yy:
A fix (bug #6449: DO server-crashing bug).
expr_list is used for DO command.
Diffstat (limited to 'mysql-test/t/select.test')
-rw-r--r-- | mysql-test/t/select.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/select.test b/mysql-test/t/select.test index 5bae44796dc..3b36ba6bfb2 100644 --- a/mysql-test/t/select.test +++ b/mysql-test/t/select.test @@ -1757,6 +1757,15 @@ DO 1; DO benchmark(100,1+1),1,1; # +# Bug #6449: do default; +# + +--error 1064 +do default; +--error 1054 +do foobar; + +# # random in WHERE clause # |