diff --git a/src/test/java/com/zendesk/maxwell/schema/ddl/DDLIntegrationTest.java b/src/test/java/com/zendesk/maxwell/schema/ddl/DDLIntegrationTest.java index 318ca3ed3..b5d2d6670 100644 --- a/src/test/java/com/zendesk/maxwell/schema/ddl/DDLIntegrationTest.java +++ b/src/test/java/com/zendesk/maxwell/schema/ddl/DDLIntegrationTest.java @@ -49,7 +49,6 @@ public void testAlter() throws Exception { "create table shard_1.testDrop ( id int(11) )", "drop table shard_1.testDrop", "create table test.c ( v varchar(255) charset ascii )", - "alter table test.c ALGORITHM=COPY, STATS_SAMPLE_PAGES=DEFAULT" }; testIntegration(sql); } diff --git a/src/test/java/com/zendesk/maxwell/schema/ddl/DDLParserTest.java b/src/test/java/com/zendesk/maxwell/schema/ddl/DDLParserTest.java index d0f97e9a5..c3588b147 100644 --- a/src/test/java/com/zendesk/maxwell/schema/ddl/DDLParserTest.java +++ b/src/test/java/com/zendesk/maxwell/schema/ddl/DDLParserTest.java @@ -268,7 +268,8 @@ public void testParsingSomeAlters() { "ALTER TABLE tournaments ADD INDEX idx_team_name ((col1 * 40) DESC)", "CREATE TABLE employees (data JSON, INDEX idx ((CAST(data->>'$.name' AS CHAR(30)) COLLATE utf8mb4_bin)))", "ALTER TABLE tasks DROP COLUMN IF EXISTS snoozed_until", - "ALTER TABLE outgoing_notifications_log ADD INDEX idx_campaign_updated (campaign, last_updated_at) ALGORITHM=NOCOPY,LOCK=NONE" + "ALTER TABLE outgoing_notifications_log ADD INDEX idx_campaign_updated (campaign, last_updated_at) ALGORITHM=NOCOPY,LOCK=NONE", + "alter table test.c ALGORITHM=COPY, STATS_SAMPLE_PAGES=DEFAULT" }; for ( String s : testSQL ) {