mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve alter table statment
This commit is contained in:
@@ -1849,7 +1849,10 @@ public class MySqlExprParser extends SQLExprParser {
|
||||
lexer.nextToken();
|
||||
}
|
||||
|
||||
assignItem = new SQLAssignItem(new SQLIdentifierExpr(SINGLE_WORD_TABLE_OPTIONS[idx]), expr());
|
||||
// STORAGE_POLICY
|
||||
assignItem = new SQLAssignItem(
|
||||
new SQLIdentifierExpr(SINGLE_WORD_TABLE_OPTIONS[idx])
|
||||
, idx == 9 ? charExpr() : expr());
|
||||
}
|
||||
} else {
|
||||
// Following may not table options. Save mark.
|
||||
|
||||
Reference in New Issue
Block a user