mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
Corrected a line from the patch for table elimination (WL#17)
to fix a problem with the test case for bug#42116. Re-commit of Igor's fix due to re-commit of MySQL 5.1.41 merge.
This commit is contained in:
parent
a962160eec
commit
efa74c7dd4
1 changed files with 1 additions and 1 deletions
|
@ -8937,7 +8937,7 @@ static uint reset_nj_counters(JOIN *join, List<TABLE_LIST> *join_list)
|
|||
// ~join->eliminated_tables);
|
||||
nested_join->n_tables= reset_nj_counters(join, &nested_join->join_list);
|
||||
}
|
||||
if (table->table && (table->table->map & ~join->eliminated_tables))
|
||||
if (!table->table || (table->table->map & ~join->eliminated_tables))
|
||||
n++;
|
||||
}
|
||||
DBUG_RETURN(n);
|
||||
|
|
Loading…
Add table
Reference in a new issue