• unknown's avatar
    fixed environment restoring in case of error during SP function execution (BUG#9503) · 4342dfab
    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
    4342dfab
protocol.cc 30.9 KB