diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2014-08-09 06:37:56 +0400 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2014-08-09 06:37:56 +0400 |
commit | 33d53c4c24881d4906cacc791c2049faa96a0ee6 (patch) | |
tree | 18bf6a1bd9527509543d40b12fd4c2018b914258 /sql/mysqld.h | |
parent | 83f0ddc6294ea8d4e424a540a043bf88ee4a8c8d (diff) | |
download | mariadb-git-33d53c4c24881d4906cacc791c2049faa96a0ee6.tar.gz |
MDEV-6109: EXPLAIN JSON
- Add first testcases
- Don't overquote when printing conditions
- Other small output fixes
Diffstat (limited to 'sql/mysqld.h')
-rw-r--r-- | sql/mysqld.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/mysqld.h b/sql/mysqld.h index a1656a49047..5a7419bf32b 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; |