• unknown's avatar
    Fix for Bug#12995: Inside function "Table 't4' was not locked with LOCK TABLES" · eb061b65
    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.
    eb061b65
sql_yacc.yy 228 KB