Search for commit

  1. Search 9.5.x for commit
  2. Search 8.9.x for commit
  3. Search 10.3.x for commit
  4. Search 11.x for commit
  5. Other projects
Title Object type File name Summary
DatabaseConnection::commit function includes/database/database.inc Throws an exception to deny direct access to transaction commits.
DatabaseConnection::popCommittableTransactions function includes/database/database.inc Internal function: commit all the transaction layers that can commit.
DatabaseConnection_mysql::doCommit function includes/database/mysql/database.inc Do the actual commit, including a workaround for PHP 8 behaviour changes.
DatabaseConnection_mysql::popCommittableTransactions function includes/database/mysql/database.inc Overridden to work around issues to MySQL not supporting transactional DDL.
DatabaseTransactionCommitFailedException class includes/database/database.inc Exception thrown when a commit() function fails.
DatabaseTransactionExplicitCommitNotAllowedException class includes/database/database.inc Exception to deny attempts to explicitly manage transactions.
DatabaseTransactionTestCase::testCommittedTransaction function modules/simpletest/tests/database_test.test Test committed transaction.
drupal_session_commit function includes/session.inc Commits the current session, if necessary.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.