function TransactionManager::rollbackClientSavepoint
Same name in other branches
- 10 core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php \Drupal\mysql\Driver\Database\mysql\TransactionManager::rollbackClientSavepoint()
Overrides TransactionManagerBase::rollbackClientSavepoint
File
-
core/
modules/ mysql/ src/ Driver/ Database/ mysql/ TransactionManager.php, line 41
Class
- TransactionManager
- MySql implementation of TransactionManagerInterface.
Namespace
Drupal\mysql\Driver\Database\mysqlCode
protected function rollbackClientSavepoint(string $name) : bool {
if (!$this->connection
->getClientConnection()
->inTransaction()) {
$this->voidClientTransaction();
return TRUE;
}
return parent::rollbackClientSavepoint($name);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.