提交 820d98dd authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Use setSavepoint() in addSavepoint()

上级 2bc448b8
......@@ -1093,14 +1093,7 @@ public class Session extends SessionWithState implements TransactionStore.Rollba
if (savepoints == null) {
savepoints = database.newStringMap();
}
Savepoint sp = new Savepoint();
if (undoLog != null) {
sp.logIndex = undoLog.size();
}
if (database.getMvStore() != null) {
sp.transactionSavepoint = getStatementSavepoint();
}
savepoints.put(name, sp);
savepoints.put(name, setSavepoint());
}
/**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论