1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

After merge fix

sql/sql_update.cc:
  Add missing join method
This commit is contained in:
unknown
2005-05-17 23:52:36 +03:00
parent 9b07cafe1e
commit 3f8199732e
3 changed files with 3 additions and 1 deletions

View File

@@ -1099,6 +1099,7 @@ static bool safe_update_on_fly(JOIN_TAB *join_tab, List<Item> *fields)
case JT_EQ_REF:
return TRUE; // At most one matching row
case JT_REF:
case JT_REF_OR_NULL:
return !check_if_key_used(table, join_tab->ref.key, *fields);
case JT_ALL:
/* If range search on index */