提交 9e9e37f9 authored 作者: Noel Grandin's avatar Noel Grandin 提交者: GitHub

Merge pull request #586 from andreitokar/tx_double_preparation

remove extra tx preparation
......@@ -1117,9 +1117,6 @@ public class Session extends SessionWithState {
* @param transactionName the name of the transaction
*/
public void prepareCommit(String transactionName) {
if (transaction != null) {
database.prepareCommit(this, transactionName);
}
if (containsUncommitted()) {
// need to commit even if rollback is not possible (create/drop
// table and so on)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论