• Monty's avatar
    Fixed some possible usage of freed memory · 9a60e89a
    Monty authored
    - Create_tmp_table::finalize didn't clear file after delete which
      could cause a double free. This is however not a likely problem as
      this code path is very unlikely to happen
    - free_tmp_table() could do handler calls even if the table was never
      opened. Fixed by adding a test if the table is opened.
    9a60e89a
sql_select.cc 956 KB