pushTransaction

  1. drupal
    1. drupal7
Versionen
drupal7 public DatabaseConnection::pushTransaction()

Increases the depth of transaction nesting.

If no transaction is already active, we begin a new transaction.

See also

DatabaseTransaction

Verwandte Themen

Code

includes/database/database.inc, line 893

<?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

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen