• Alexey Botchkov's avatar
    Bug#37949 Crash if argument to SP is a subquery that returns more than one row · b6f4b1c0
    Alexey Botchkov authored
         JOIN for the subselect wasn't cleaned if we came upon an error
         during sub_select() execution. That leads to the assertion failure
         in close_thread_tables()
    
         part of the 6.0 code backported
    
    per-file comments:
      mysql-test/r/sp-error.result
    Bug#37949 Crash if argument to SP is a subquery that returns more than one row 
        test result
    
      mysql-test/t/sp-error.test
    Bug#37949 Crash if argument to SP is a subquery that returns more than one row 
        test case
    
      sql/sp_head.cc
    Bug#37949 Crash if argument to SP is a subquery that returns more than one row 
        lex->unit.cleanup() call added if not substatement
    b6f4b1c0
sp_head.cc 96.8 KB