• unknown's avatar
    Fixed BUG#6029: Stored procedure specific handlers should have priority. · d9c12f82
    unknown authored
    
    mysql-test/r/sp.result:
      New test case for BUG#6022.
    mysql-test/t/sp.test:
      New test case for BUG#6022.
    sql/sp_rcontext.cc:
      Find the most specific condition handler, not just the first one.
      (And corrected the return type for find_handler)
    sql/sp_rcontext.h:
      Corrected return type for find_handler.
    d9c12f82
sp.test 44.3 KB