Commit c53b9a6f authored by Lukas Kahwe Smith's avatar Lukas Kahwe Smith

use supportsReleaseSavepoints() when committing a nested transaction

parent 788dea96
......@@ -832,7 +832,7 @@ class Connection implements DriverConnection
$this->_conn->commit();
} else {
$savepointName = $this->_getNestedTransactionSavePointName($this->_transactionNestingLevel);
if ($savepointName) {
if ($savepointName && $this->_platform->supportsReleaseSavepoints()) {
$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