1
0
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:
Sergey Petrunya
2013-10-08 16:13:49 +04:00
parent fda46df620
commit 69e6a2bb22
5 changed files with 21 additions and 5 deletions

View File

@@ -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;
/*