• unknown's avatar
    BUG#16893: Crash in test 'fulltext_order_by' · 394c88df
    unknown authored
    Fixed that fulltext query + union results in unexpected behaviour.
    
    
    sql/item_func.h:
      Remove access to table object from cleanup() as the table object
      may have been dropped earlier (In case of temporary tables or of
      close_thread_tables() is run before cleanup())
      This fixed a bug with access to already freed memory
    sql/sql_base.cc:
      Reset variables used by fulltext
    394c88df
item_func.h 30.5 KB