summaryrefslogtreecommitdiff
path: root/sql/mysqld.h
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2017-03-14 11:52:00 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2017-03-14 11:52:00 +0100
commit05d3c3d3f748f74bbd12924d090f882c5c928249 (patch)
treed15b528bced3ab5b1ce86ea0569eeba2efe67115 /sql/mysqld.h
parente43156e1a679c95413aab2c4bf9523da7947fc18 (diff)
downloadmariadb-git-05d3c3d3f748f74bbd12924d090f882c5c928249.tar.gz
MDEV-10141: Add support for INTERSECT (and common parts for EXCEPT)
MDEV-10140: Add support for EXCEPT
Diffstat (limited to 'sql/mysqld.h')
-rw-r--r--sql/mysqld.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/mysqld.h b/sql/mysqld.h
index 8f74194181a..7e0a95ddab4 100644
--- a/sql/mysqld.h
+++ b/sql/mysqld.h
@@ -689,11 +689,13 @@ enum enum_query_type
QT_ITEM_CACHE_WRAPPER_SKIP_DETAILS |
QT_ITEM_SUBSELECT_ID_ONLY,
- /// This is used for EXPLAIN EXTENDED extra warnings
+ QT_SHOW_SELECT_NUMBER= (1<<10),
+ /// This is used for EXPLAIN EXTENDED extra warnings / Be more detailed
/// Be more detailed than QT_EXPLAIN.
/// Perhaps we should eventually include QT_ITEM_IDENT_SKIP_CURRENT_DATABASE
/// here, as it would give better readable results
- QT_EXPLAIN_EXTENDED= QT_TO_SYSTEM_CHARSET,
+ QT_EXPLAIN_EXTENDED= QT_TO_SYSTEM_CHARSET|
+ QT_SHOW_SELECT_NUMBER,
// If an expression is constant, print the expression, not the value
// it evaluates to. Should be used for error messages, so that they