summaryrefslogtreecommitdiff
path: root/sql/mysqld.h
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2014-11-27 00:51:54 +0300
committerSergei Petrunia <psergey@askmonty.org>2014-11-27 00:51:54 +0300
commit3d5f97fd708e12201636179baee2c8bc0093c109 (patch)
tree04a2ea21f8312ecc4100e179f32ce58e719e82fb /sql/mysqld.h
parent55e99b29339dae833448ded6d0ca3d31f673d02a (diff)
parent3c5ce8a0a32a74cd8e0ddc81bcfacf7c85f0d90a (diff)
downloadmariadb-git-3d5f97fd708e12201636179baee2c8bc0093c109.tar.gz
Merge ../10.1-explain-json-r4 into 10.1
Diffstat (limited to 'sql/mysqld.h')
-rw-r--r--sql/mysqld.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/mysqld.h b/sql/mysqld.h
index 96ad9be1d7f..68a44711d63 100644
--- a/sql/mysqld.h
+++ b/sql/mysqld.h
@@ -611,9 +611,13 @@ enum enum_query_type
/// Without character set introducers.
QT_WITHOUT_INTRODUCERS= (1 << 1),
/// view internal representation (like QT_ORDINARY except ORDER BY clause)
- QT_VIEW_INTERNAL= (1 << 2)
+ QT_VIEW_INTERNAL= (1 << 2),
+ /// This value means focus on readability, not on ability to parse back, etc.
+ QT_EXPLAIN= (1 << 4)
};
+
+
/* query_id */
typedef int64 query_id_t;
extern query_id_t global_query_id;