#684138 by carlos8f and Heine: Fixed bug in SQLite's NextId() that prevented installation.
parent
dfebdecfa7
commit
fed2d40473
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue