21#include <drizzled/name_resolution_context.h>
23#include <drizzled/name_resolution_context_state.h>
24#include <drizzled/table_list.h>
30 save_table_list= context->table_list;
31 save_first_name_resolution_table= context->first_name_resolution_table;
32 save_resolve_in_select_list= context->resolve_in_select_list;
33 save_next_local= table_list->next_local;
34 save_next_name_resolution_table= table_list->next_name_resolution_table;
39 table_list->next_local= save_next_local;
40 table_list->next_name_resolution_table= save_next_name_resolution_table;
41 context->table_list= save_table_list;
42 context->first_name_resolution_table= save_first_name_resolution_table;
43 context->resolve_in_select_list= save_resolve_in_select_list;
46TableList *Name_resolution_context_state::get_first_name_resolution_table()
48 return save_first_name_resolution_table;
TODO: Rename this file - func.h is stupid.