提交 2a1d6a3e authored 作者: noelgrandin@gmail.com's avatar noelgrandin@gmail.com

Parse and ignore the ROW_FORMAT=DYNAMIC MySQL syntax, patch by mfulton

上级 06f4a4fc
......@@ -5891,6 +5891,12 @@ public class Parser {
}
command.setQuery(parseSelect());
}
// for MySQL compatibility
if (readIf("ROW_FORMAT")) {
if (readIf("=")) {
readColumnIdentifier();
}
}
return command;
}
......
......@@ -326,6 +326,8 @@ public class TestCompatibility extends TestBase {
"unique (ATTACHMENT_ID, SOME_ITEM_ID)) " +
"comment='Comment Again' ENGINE=InnoDB");
stat.execute("CREATE TABLE TEST2(ID INT) ROW_FORMAT=DYNAMIC");
conn.close();
conn = getConnection("compatibility");
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论