1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00
Update after discussion with Monty
This commit is contained in:
hf@deer.(none)
2003-12-12 22:13:57 +04:00
parent e6e0937dc4
commit 0abfaa9840

View File

@@ -1803,14 +1803,7 @@ update_ref_and_keys(THD *thd, DYNAMIC_ARRAY *keyuse,JOIN_TAB *join_tab,
}
/* fill keyuse with found key parts */
for (; field != end ; field++)
{
add_key_part(keyuse,field);
/* Mark that we can optimize LEFT JOIN */
if (field->field->table == join_tab->table &&
field->val->type() == Item::NULL_ITEM &&
!field->field->real_maybe_null())
join_tab->table->reginfo.not_exists_optimize=1;
}
}
if (thd->lex.select->ftfunc_list.elements)