mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02: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:
parent
f5f92ce146
commit
4c69f7fb4e
3 changed files with 28 additions and 1 deletions
|
|
@ -893,6 +893,18 @@ drop function bug8408|
|
|||
delete from t1|
|
||||
|
||||
|
||||
#
|
||||
# BUG#10537: Server crashes while loading data file into table through
|
||||
# procedure.
|
||||
# Disable load until it's PS and SP safe
|
||||
--disable_warnings
|
||||
drop procedure if exists bug10537|
|
||||
--enable_warnings
|
||||
--error ER_SP_BADSTATEMENT
|
||||
create procedure bug10537()
|
||||
load data local infile '/tmp/somefile' into table t1|
|
||||
|
||||
|
||||
#
|
||||
# BUG#NNNN: New bug synopsis
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue