mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
Merge 6357a7bf55
into aa1629ca35
This commit is contained in:
commit
bdcf3d275d
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ bool SQLiteStmt::Use::isNull(int col)
|
|||
SQLiteTxn::SQLiteTxn(sqlite3 * db)
|
||||
{
|
||||
this->db = db;
|
||||
if (sqlite3_exec(db, "begin;", 0, 0, 0) != SQLITE_OK)
|
||||
if (sqlite3_exec(db, "begin immediate transaction;", 0, 0, 0) != SQLITE_OK)
|
||||
SQLiteError::throw_(db, "starting transaction");
|
||||
active = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue