mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Merge mockturtle.local:/home/dlenev/src/mysql-5.0-bg24491
into mockturtle.local:/home/dlenev/src/mysql-5.1-bg24491 mysql-test/t/sp-error.test: Auto merged sql/item.h: Auto merged sql/sql_table.cc: Auto merged mysql-test/r/ps.result: SCCS merged mysql-test/r/sp-error.result: SCCS merged mysql-test/t/disabled.def: SCCS merged mysql-test/t/ps.test: SCCS merged
This commit is contained in:
commit
a45938bf5a
5 changed files with 100 additions and 7 deletions
|
|
@ -336,23 +336,18 @@ public:
|
|||
{
|
||||
save_table_list= context->table_list;
|
||||
save_first_name_resolution_table= context->first_name_resolution_table;
|
||||
save_next_name_resolution_table= (context->first_name_resolution_table) ?
|
||||
context->first_name_resolution_table->
|
||||
next_name_resolution_table :
|
||||
NULL;
|
||||
save_resolve_in_select_list= context->resolve_in_select_list;
|
||||
save_next_local= table_list->next_local;
|
||||
save_next_name_resolution_table= table_list->next_name_resolution_table;
|
||||
}
|
||||
|
||||
/* Restore a name resolution context from saved state. */
|
||||
void restore_state(Name_resolution_context *context, TABLE_LIST *table_list)
|
||||
{
|
||||
table_list->next_local= save_next_local;
|
||||
table_list->next_name_resolution_table= save_next_name_resolution_table;
|
||||
context->table_list= save_table_list;
|
||||
context->first_name_resolution_table= save_first_name_resolution_table;
|
||||
if (context->first_name_resolution_table)
|
||||
context->first_name_resolution_table->
|
||||
next_name_resolution_table= save_next_name_resolution_table;
|
||||
context->resolve_in_select_list= save_resolve_in_select_list;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue