mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Merge rurik.mysql.com:/home/igor/mysql-5.0
into rurik.mysql.com:/home/igor/dev/mysql-5.0-2 sql/item.cc: Auto merged sql/item.h: Auto merged sql/item_func.cc: Auto merged sql/mysql_priv.h: Auto merged sql/sql_base.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_lex.cc: Auto merged sql/sql_lex.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_yacc.yy: Auto merged
This commit is contained in:
@@ -1130,6 +1130,11 @@ void st_select_lex::init_query()
|
||||
/*
|
||||
Add the name resolution context of the current (sub)query to the
|
||||
stack of contexts for the whole query.
|
||||
TODO:
|
||||
push_context may return an error if there is no memory for a new
|
||||
element in the stack, however this method has no return value,
|
||||
thus push_context should be moved to a place where query
|
||||
initialization is checked for failure.
|
||||
*/
|
||||
parent_lex->push_context(&context);
|
||||
cond_count= with_wild= 0;
|
||||
|
||||
Reference in New Issue
Block a user