• unknown's avatar
    Additional fix for BUG#7049, after review. · c8a2ff6f
    unknown authored
    Make sure "select" aborts when finding a SP condition handler beyond the current scope.
    
    
    mysql-test/r/sp.result:
      Updated test results after fixing error handling in select.
    sql/mysqld.cc:
      Make sure "select" aborts when finding a SP condition handler beyond the current scope.
    sql/protocol.cc:
      Make sure "select" aborts when finding a SP condition handler beyond the current scope.
    sql/sp_rcontext.h:
      Added method for checking if the handler was found in the current context.
    sql/sql_error.cc:
      Make sure "select" aborts when finding a SP condition handler beyond the current scope.
    c8a2ff6f
mysqld.cc 264 KB