Skip to content

Commit 500ee6e

Browse files
committed
fixes #259 - was already fixed, introduced test case
1 parent dbdfb4e commit 500ee6e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/java/net/sf/jsqlparser/statement/alter/AlterTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,4 +378,9 @@ public void testAlterTableIndex586() throws Exception {
378378
"ADD UNIQUE INDEX operation_time (`operation_time`, `warehouse_code`, `customerid`, `fees_type`, `external_no`) " +
379379
"USING BTREE, ALGORITHM = INPLACE", result.toString());
380380
}
381+
382+
@Test
383+
public void testIssue259() throws JSQLParserException {
384+
assertSqlCanBeParsedAndDeparsed("ALTER TABLE feature_v2 ADD COLUMN third_user_id int (10) unsigned DEFAULT '0' COMMENT '第三方用户id' after kdt_id");
385+
}
381386
}

0 commit comments

Comments
 (0)