• unknown's avatar
    Fix for Bug#12995: Inside function "Table 't4' was not locked with LOCK TABLES" · 8c2c8782
    unknown authored
    Any form of HANDLER statement is forbidden from usage in stored procedures/functions.
    
    
    mysql-test/r/sp-error.result:
      Results for the test case for Bug#12995 added.
    mysql-test/t/sp-error.test:
      Test case for Bug#12995 added.
    sql/sql_yacc.yy:
      Forbid any form of "HANDLER" statement from use in stored procedures/functions.
    8c2c8782
sp-error.result 19.9 KB