25
25
#include <drizzled/sql_table.h>
26
26
#include <drizzled/sql_lex.h>
31
30
bool statement::Check::execute()
33
32
TableList *first_table= (TableList *) lex().select_lex.table_list.first;
34
33
TableList *all_tables= lex().query_tables;
35
34
assert(first_table == all_tables && first_table != 0);
39
37
lex().query_tables=all_tables;
44
41
} /* namespace drizzled */