1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00
Update after discussion with Monty


sql/sql_select.cc:
  Wrong operation - deleted
This commit is contained in:
unknown
2003-12-12 22:13:57 +04:00
parent 4f90f2fc67
commit e28af60ab6

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)