summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorsergefp@mysql.com <>2005-12-22 12:29:00 +0300
committersergefp@mysql.com <>2005-12-22 12:29:00 +0300
commite1f49888bfcc5007c04a0d0837957f4767592dea (patch)
tree8de7ec2c17376c876e0b1170dd371aa5d156c9e8 /sql/sql_lex.h
parent7100dec8fef79deb9be5f4d126af53cab2342b3a (diff)
downloadmariadb-git-e1f49888bfcc5007c04a0d0837957f4767592dea.tar.gz
WL#2985 "Partition Pruning"
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 06a101a1c5c..9bd9ca3db45 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -102,6 +102,11 @@ enum enum_sql_command {
// describe/explain types
#define DESCRIBE_NORMAL 1
#define DESCRIBE_EXTENDED 2
+/*
+ This is not #ifdef'ed because we want "EXPLAIN PARTITIONS ..." to produce
+ additional "partitions" column even if partitioning is not compiled in.
+*/
+#define DESCRIBE_PARTITIONS 4
enum enum_sp_suid_behaviour
{