mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
MDEV-3798: EXPLAIN UPDATE/DELETE
- Update test results after last few csets - Generate correct value for `possible_keys` column for single table UPDATE/DELETE.
This commit is contained in:
@@ -436,7 +436,7 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
|
||||
}
|
||||
|
||||
query_plan.select= select;
|
||||
query_plan.possible_keys= table->quick_keys;
|
||||
query_plan.possible_keys= select? select->possible_keys: key_map(0);
|
||||
query_plan.table_rows= table->file->stats.records;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user