Commit 8386cfd7 authored by unknown's avatar unknown
Browse files

BUG#15561: Possible to strange things with partitions defined although no...

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.
parent a514095a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)},