Commit c7f0259d authored by Lukas Kahwe Smith's avatar Lukas Kahwe Smith Committed by Juozas Kaziukenas

use supportsReleaseSavepoints() when committing a nested transaction

parent 56243861
...@@ -832,7 +832,7 @@ class Connection implements DriverConnection ...@@ -832,7 +832,7 @@ class Connection implements DriverConnection
$this->_conn->commit(); $this->_conn->commit();
} else { } else {
$savepointName = $this->_getNestedTransactionSavePointName($this->_transactionNestingLevel); $savepointName = $this->_getNestedTransactionSavePointName($this->_transactionNestingLevel);
if ($savepointName) { if ($savepointName && $this->_platform->supportsReleaseSavepoints()) {
$this->releaseSavePoint($savepointName); $this->releaseSavePoint($savepointName);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment