• unknown's avatar
    fixed environment restoring in case of error during SP function execution (BUG#9503) · a5e742fe
    unknown authored
    #define macro improvement
    
    
    mysql-test/r/sp-security.result:
      BUG#9503: reseting correct parameters of thread after error in SP function
    mysql-test/t/sp-security.test:
      BUG#9503: reseting correct parameters of thread after error in SP function
    sql/item_func.cc:
      fixed environment restoring in case of error during SP function execution
    sql/protocol.cc:
      added debug print
    sql/sql_class.h:
      fixed #defines to force them to be alvaise in piar, and variable name made more complex for accident repeating in other code
    a5e742fe
sp-security.test 7.17 KB