• unknown's avatar
    Fixed BUG#10537: Server crashes while loading data file into table through · 2a5a3de2
    unknown authored
                      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.)
    
    
    mysql-test/r/sp-error.result:
      New test case for BUG#10537.
    mysql-test/t/sp-error.test:
      New test case for BUG#10537.
    sql/sql_yacc.yy:
      Disable LOAD in stored procedures (just as for prepared statements).
    2a5a3de2
sp-error.test 15.8 KB