• unknown's avatar
    fake_select_lex should be prepared during PS preparation to work correctly · 56568288
    unknown authored
    item_list for fake_select will be created only once
    (problem reported by valgrind in test_union2 fixed)
    
    
    sql/sql_lex.h:
      new function to keep code in one place
    sql/sql_union.cc:
      fake_select_lex should be prepared during PS preparation to work correctly
      item_list for fake_select will be created only once
    56568288
sql_union.cc 14.1 KB