1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Test cases added. Fix the query mode.

FossilOrigin-Name: a9d8794ae949df570466a84836882bc8bed95c7c
This commit is contained in:
drh
2011-07-26 16:23:25 +00:00
parent f0b190d94c
commit 253cea5c6f
6 changed files with 113 additions and 14 deletions

View File

@@ -1360,7 +1360,7 @@ static int winFileControl(sqlite3_file *id, int op, void *pArg){
case SQLITE_FCNTL_PERSIST_WAL: {
int bPersist = *(int*)pArg;
if( bPersist<0 ){
bPersist = pFile->bPersistWal;
*(int*)pArg = pFile->bPersistWal;
}else{
pFile->bPersistWal = bPersist!=0;
}