diff options
author | pem@mysql.comhem.se <> | 2005-05-27 16:19:25 +0200 |
---|---|---|
committer | pem@mysql.comhem.se <> | 2005-05-27 16:19:25 +0200 |
commit | 4c49970e0f389983995a2f75fb72842bc598729e (patch) | |
tree | 89f4aa44fffabd7d9a60850fbc959a8e765fd2dd /mysql-test/r/sp-error.result | |
parent | fcb3b0326ed3c60019eef079576c06af7eeb5583 (diff) | |
download | mariadb-git-4c49970e0f389983995a2f75fb72842bc598729e.tar.gz |
Fixed BUG#8409: Stored procedure crash if function contains FLUSH
by simply disabling FLUSH for stored functions. (I can't really work.)
Diffstat (limited to 'mysql-test/r/sp-error.result')
-rw-r--r-- | mysql-test/r/sp-error.result | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/r/sp-error.result b/mysql-test/r/sp-error.result index 7c19f60471a..5eb651e2fca 100644 --- a/mysql-test/r/sp-error.result +++ b/mysql-test/r/sp-error.result @@ -646,4 +646,12 @@ drop procedure if exists bug10537| create procedure bug10537() load data local infile '/tmp/somefile' into table t1| ERROR 0A000: LOAD DATA is not allowed in stored procedures +drop function if exists bug8409| +create function bug8409() +returns int +begin +flush tables; +return 5; +end| +ERROR 0A000: FLUSH is not allowed in stored procedures drop table t1| |