mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
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.)
This commit is contained in:
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user