bug fixed for sql parser.

This commit is contained in:
wenshao
2017-11-27 13:38:09 +08:00
parent 66fedd82dd
commit a34415a976
3 changed files with 9 additions and 3 deletions
@@ -1025,6 +1025,13 @@ public class SQLCreateTableStatement extends SQLStatementImpl implements SQLDDLS
x.onCommitPreserveRows = onCommitPreserveRows;
x.onCommitDeleteRows = onCommitDeleteRows;
if (tableOptions != null) {
for (Map.Entry<String, SQLObject> entry : tableOptions.entrySet()) {
SQLObject entryVal = entry.getValue().clone();
x.tableOptions.put(entry.getKey(), entryVal);
}
}
}
public SQLName getStoredAs() {