You are here

public static function Transaction::willRollback in Transaction 6

Same name and namespace in other branches
  1. 5 transaction.module \Transaction::willRollback()

Will this transaction roll back instead of committing?

Return value

boolean TRUE if the transaction will roll back, FALSE if it will commit.

File

./transaction.module, line 76
Provides a database transaction system for use with InnoDB tables in MySQL.

Class

Transaction
Provides a nestable transaction system for handling commits and rollbacks.

Code

public static function willRollback() {
  return !self::$AllowCommit;
}