summaryrefslogtreecommitdiff
path: root/mysql-test/r/sp-error.result
diff options
context:
space:
mode:
authorpem@mysql.comhem.se <>2005-05-20 17:47:08 +0200
committerpem@mysql.comhem.se <>2005-05-20 17:47:08 +0200
commit4c69f7fb4e43769b53f58114e4bfbb93c916c568 (patch)
treeefabecc491932738cbd590a005016a4d2370afd3 /mysql-test/r/sp-error.result
parentf5f92ce146eb7047936c13307045a7277f76336f (diff)
downloadmariadb-git-4c69f7fb4e43769b53f58114e4bfbb93c916c568.tar.gz
Fixed BUG#10537: Server crashes while loading data file into table through
procedure. by simply disabling 'load' in stored procedures, like it's already disabled for prepared statements. (They must be made "re-execution" safe before working with either PS or SP.)
Diffstat (limited to 'mysql-test/r/sp-error.result')
-rw-r--r--mysql-test/r/sp-error.result4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/sp-error.result b/mysql-test/r/sp-error.result
index 683f3e12091..7c19f60471a 100644
--- a/mysql-test/r/sp-error.result
+++ b/mysql-test/r/sp-error.result
@@ -642,4 +642,8 @@ val x bug8408()
7 7 3
drop function bug8408|
delete from t1|
+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 table t1|