mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
a couple of minor post-5.5-merge cleanups
include/mysql_com.h: remove "shutdown levels" that aren't shutdown levels from mysql_enum_shutdown_level mysys/my_addr_resolve.c: my_snprintf in 5.5 (but not in 5.3) supports %p sql/item_func.cc: use a method (that exists only in 5.5) instead of directly accessing a member sql/item_subselect.cc: use a method (that exists only in 5.5) instead of directly accessing a member sql/opt_subselect.cc: use a method (that exists only in 5.5) instead of directly accessing a member sql/sql_select.cc: use a method (that exists only in 5.5) instead of directly accessing a member
This commit is contained in:
@@ -346,8 +346,8 @@ int check_and_do_in_subquery_rewrites(JOIN *join)
|
||||
TODO: for PS, make the whole block execute only on the first execution
|
||||
*/
|
||||
Item_subselect *subselect;
|
||||
if (!(thd->lex->context_analysis_only & CONTEXT_ANALYSIS_ONLY_VIEW) && // (1)
|
||||
(subselect= parent_unit->item)) // (2)
|
||||
if (!thd->lex->is_view_context_analysis() && // (1)
|
||||
(subselect= parent_unit->item)) // (2)
|
||||
{
|
||||
Item_in_subselect *in_subs= NULL;
|
||||
Item_allany_subselect *allany_subs= NULL;
|
||||
|
Reference in New Issue
Block a user