Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TransactionManager.php

function TransactionManager::processRootCommit

Overrides TransactionManagerBase::processRootCommit

File

core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php, line 30

Class

TransactionManager
MySql implementation of TransactionManagerInterface.

Namespace

Drupal\mysql\Driver\Database\mysql

Code

protected function processRootCommit() : void {
    if (!$this->connection
        ->getClientConnection()
        ->inTransaction()) {
        $this->voidClientTransaction();
        return;
    }
    parent::processRootCommit();
}
RSS feed
Powered by Drupal