summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-14 19:49:14 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-14 19:49:14 +0000
commitfed2d40473a0c0bdf413bf506bfde7ecfee16697 (patch)
tree0dde618a9fead8f55020da6cbb8bbb5a9cc44654 /includes
parentdfebdecfa7b37822e2fcdeb53064a9f60f277bc3 (diff)
downloadbrdo-fed2d40473a0c0bdf413bf506bfde7ecfee16697.tar.gz
brdo-fed2d40473a0c0bdf413bf506bfde7ecfee16697.tar.bz2
#684138 by carlos8f and Heine: Fixed bug in SQLite's NextId() that prevented installation.
Diffstat (limited to 'includes')
-rw-r--r--includes/database/sqlite/database.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/database/sqlite/database.inc b/includes/database/sqlite/database.inc
index eaeacb32d..f175732f7 100644
--- a/includes/database/sqlite/database.inc
+++ b/includes/database/sqlite/database.inc
@@ -186,7 +186,7 @@ class DatabaseConnection_sqlite extends DatabaseConnection {
}
// The transaction gets committed when the transaction object gets destroyed
// because it gets out of scope.
- return $new_value;
+ return (int) $this->query('SELECT value FROM {sequences}')->fetchField();
}
}