| Versionen | |
|---|---|
| drupal7 | public DatabaseConnection::pushTransaction() |
Increases the depth of transaction nesting.
If no transaction is already active, we begin a new transaction.
includes/
<?php
public function pushTransaction() {
++$this->transactionLayers;
if ($this->transactionLayers == 1) {
if ($this->supportsTransactions()) {
parent::beginTransaction();
}
// Reset any scheduled rollback
$this->willRollBack = FALSE;
}
}
?>
Kommentare
Kommentar hinzufügen