mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Fix another lsmtest build problem. Add the "-trans BOOLEAN" option to "lsmtest
speed2". FossilOrigin-Name: 61853bc171e7c3af1db6a33ac8b1ad21e1c08e8d6b317fe061fdcd89c9a42e88
This commit is contained in:
@ -693,6 +693,13 @@ static int sql_open(
|
||||
sqlite3_exec(pDb->db, "PRAGMA synchronous=OFF", 0, 0, 0);
|
||||
sqlite3_exec(pDb->db, "PRAGMA journal_mode=WAL", 0, 0, 0);
|
||||
sqlite3_exec(pDb->db, "PRAGMA wal_autocheckpoint=4096", 0, 0, 0);
|
||||
if( zSpec ){
|
||||
rc = sqlite3_exec(pDb->db, zSpec, 0, 0, 0);
|
||||
if( rc!=SQLITE_OK ){
|
||||
sql_close((TestDb *)pDb);
|
||||
return rc;
|
||||
}
|
||||
}
|
||||
|
||||
*ppDb = (TestDb *)pDb;
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user