提交 e20b12b4 authored 作者: Thomas Mueller's avatar Thomas Mueller

Sequences of temporary tables (auto-increment or identity columns) were…

Sequences of temporary tables (auto-increment or identity columns) were persisted unnecessarily in the database file, and were not removed when re-opening the database.
上级 854bc905
......@@ -382,7 +382,9 @@ public class Column {
}
}
Sequence seq = new Sequence(schema, id, sequenceName, start, increment);
if (!temporary) {
if (temporary) {
seq.setTemporary(true);
} else {
session.getDatabase().addSchemaObject(session, seq);
}
setAutoIncrement(false, 0, 0);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论