summaryrefslogtreecommitdiff
path: root/sql/opt_range.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2013-10-08 16:13:49 +0400
committerSergey Petrunya <psergey@askmonty.org>2013-10-08 16:13:49 +0400
commit69e6a2bb22434d94d96312ba8a0540195273dfdd (patch)
treec84e3440a7d6f55c9e8c7c53415eba21c326fbcb /sql/opt_range.h
parentfda46df62071f54ebc4d806c6d9caf031d801150 (diff)
downloadmariadb-git-69e6a2bb22434d94d96312ba8a0540195273dfdd.tar.gz
MDEV-3798: EXPLAIN UPDATE/DELETE
- Update test results after last few csets - Generate correct value for `possible_keys` column for single table UPDATE/DELETE.
Diffstat (limited to 'sql/opt_range.h')
-rw-r--r--sql/opt_range.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/opt_range.h b/sql/opt_range.h
index 29bb9ed88ff..d61219b7dd0 100644
--- a/sql/opt_range.h
+++ b/sql/opt_range.h
@@ -982,6 +982,8 @@ class SQL_SELECT :public Sql_alloc {
key_map quick_keys; // Possible quick keys
key_map needed_reg; // Possible quick keys after prev tables.
table_map const_tables,read_tables;
+ /* See PARAM::possible_keys */
+ key_map possible_keys;
bool free_cond; /* Currently not used and always FALSE */
SQL_SELECT();