• unknown's avatar
    added mem_root switching for subselect if it is necessary · a100c0e9
    unknown authored
    (bug #518 fixed)
    
    
    mysql-test/r/subselect.result:
      test of bug #518
    mysql-test/t/subselect.test:
      test of bug #518
    sql/item_subselect.cc:
      test and switch mem_root if it is necessary
      exec() - wrapper around engine->exec() to test and switch mem_root if necessary
    sql/item_subselect.h:
      added storing THD for mem_root testinmg & switching
      exec() - wrapper around engine->exec() to test and switch mem_root if necessary
    a100c0e9
subselect.result 40.3 KB