Skip to content
Snippets Groups Projects
Commit fed2d404 authored by Angie Byron's avatar Angie Byron
Browse files

#684138 by carlos8f and Heine: Fixed bug in SQLite's NextId() that prevented installation.

parent dfebdecf
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -186,7 +186,7 @@ public function nextId($existing_id = 0) {
}
// 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();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment