mirror of
https://github.com/MariaDB/server.git
synced 2025-11-09 11:41:36 +03:00
Merge fix for BUG##806524
This commit is contained in:
@@ -12003,8 +12003,8 @@ static uint reset_nj_counters(JOIN *join, List<TABLE_LIST> *join_list)
|
||||
if (!nested_join->n_tables)
|
||||
is_eliminated_nest= TRUE;
|
||||
}
|
||||
if ((!table->table && !is_eliminated_nest) ||
|
||||
(table->table && (table->table->map & ~join->eliminated_tables)))
|
||||
if ((table->nested_join && !is_eliminated_nest) ||
|
||||
(!table->nested_join && (table->table->map & ~join->eliminated_tables)))
|
||||
n++;
|
||||
}
|
||||
DBUG_RETURN(n);
|
||||
|
||||
Reference in New Issue
Block a user