summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-10-23 11:26:04 (GMT)
committerAlex Pott2014-10-23 11:26:04 (GMT)
commit0dfd0cadbd7c5c94a6f897c6102c1d3625d0e3e8 (patch)
treeac90d670ec2fbc21c4cc482b674e4115a20c8e45
parentab3e6791a5d3ca5986ddeff5ee363c61d6e9ab12 (diff)
Issue #1186582 by Albert Volkman, chx: Fixed rollback and and pushTransaction is not consistent.
-rw-r--r--core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php b/core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php
index 6cacf4e..bca72c4 100644
--- a/core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php
+++ b/core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php
@@ -336,7 +336,7 @@ class Connection extends DatabaseConnection {
}
// A previous rollback to an earlier savepoint may mean that the savepoint
// in question has already been rolled back.
- if (!in_array($savepoint_name, $this->transactionLayers)) {
+ if (!isset($this->transactionLayers[$savepoint_name])) {
return;
}