• Alexey Botchkov's avatar
    Bug#37949 Crash if argument to SP is a subquery that returns more than one row · ce64a16b
    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
    ce64a16b
sp_head.cc 96.8 KB