1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Change Item_true and Item_false to pointers

This is a prerequisite for moving them to a readonly segment.
This commit is contained in:
Monty
2021-06-18 14:36:52 +03:00
committed by Vicențiu Ciorbaru
parent b32b1f2b19
commit d378a466a5
6 changed files with 25 additions and 23 deletions

View File

@ -7427,7 +7427,7 @@ store_top_level_join_columns(THD *thd, TABLE_LIST *table_ref,
/* Add a TRUE condition to outer joins that have no common columns. */
if (table_ref_2->outer_join &&
!table_ref_1->on_expr && !table_ref_2->on_expr)
table_ref_2->on_expr= (Item*) &Item_true;
table_ref_2->on_expr= (Item*) Item_true;
/* Change this table reference to become a leaf for name resolution. */
if (left_neighbor)