diff options
author | unknown <mikael@c-4908e253.1238-1-64736c10.cust.bredbandsbolaget.se> | 2006-04-10 10:00:08 -0400 |
---|---|---|
committer | unknown <mikael@c-4908e253.1238-1-64736c10.cust.bredbandsbolaget.se> | 2006-04-10 10:00:08 -0400 |
commit | 649f8c98b8166862d030f37b8d0ee380ab3a6b73 (patch) | |
tree | 414cafee77fc081d5d3fb04242ca6d6b17d07e58 /sql/lex.h | |
parent | e1d522da8b506aa2f6ba4272b9d898579ee46efb (diff) | |
download | mariadb-git-649f8c98b8166862d030f37b8d0ee380ab3a6b73.tar.gz |
BUG#15561: Possible to strange things with partitions defined although no partition support compiled in
Added an #ifdef to ensure we get syntax error when using partitioned synytax and no partition support is compiled in.
sql/lex.h:
Added an #ifdef to ensure we get syntax error when using partitioned synytax and no partition support is compiled in.
Diffstat (limited to 'sql/lex.h')
-rw-r--r-- | sql/lex.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/lex.h b/sql/lex.h index 9f0c6c4f8b7..d22a56034c5 100644 --- a/sql/lex.h +++ b/sql/lex.h @@ -390,9 +390,11 @@ static SYMBOL symbols[] = { { "PACK_KEYS", SYM(PACK_KEYS_SYM)}, { "PARSER", SYM(PARSER_SYM)}, { "PARTIAL", SYM(PARTIAL)}, +#ifdef WITH_PARTITION_STORAGE_ENGINE { "PARTITION", SYM(PARTITION_SYM)}, { "PARTITIONING", SYM(PARTITIONING_SYM)}, { "PARTITIONS", SYM(PARTITIONS_SYM)}, +#endif { "PASSWORD", SYM(PASSWORD)}, { "PHASE", SYM(PHASE_SYM)}, { "PLUGIN", SYM(PLUGIN_SYM)}, |