File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- Copyright (c) 2000, 2018 , Oracle and/or its affiliates. All rights reserved.
2
+ Copyright (c) 2000, 2020 , Oracle and/or its affiliates. All rights reserved.
3
3
4
4
This program is free software; you can redistribute it and/or modify
5
5
it under the terms of the GNU General Public License, version 2.0,
@@ -3005,7 +3005,8 @@ void Item_ident::fix_after_pullout(st_select_lex *parent_select,
3005
3005
The subquery on this level is outer-correlated with respect to the field
3006
3006
*/
3007
3007
Item_subselect *subq_predicate= child_select->master_unit ()->item ;
3008
-
3008
+ if (subq_predicate == NULL )
3009
+ return ;
3009
3010
subq_predicate->used_tables_cache |= OUTER_REF_TABLE_BIT;
3010
3011
child_select= child_select->outer_select ();
3011
3012
}
You can’t perform that action at this time.
0 commit comments