Fix ALTER TABLE detection regex

The regular expression expected that the COLUMN keyword was always
present.
This commit is contained in:
Markus Mäkelä
2018-01-26 14:04:19 +02:00
parent df86ee3579
commit e14710ab2b

View File

@ -65,7 +65,7 @@ static const char* avro_index_name = "avro.index";
static const char* create_table_regex =
"(?i)create[a-z0-9[:space:]_]+table";
static const char* alter_table_regex =
"(?i)alter[[:space:]]+table.*column";
"(?i)alter[[:space:]]+table";
/* The router entry points */
static MXS_ROUTER *createInstance(SERVICE *service, char **options);