mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Fix a problem with identifying a corrupt database in WAL mode.
FossilOrigin-Name: c8658da44671e9c43c90ee4857bbe82c55d40f25
This commit is contained in:
@@ -2285,6 +2285,7 @@ static int lockBtree(BtShared *pBt){
|
||||
releasePage(pPage1);
|
||||
return SQLITE_OK;
|
||||
}
|
||||
rc = SQLITE_NOTADB;
|
||||
}
|
||||
|
||||
/* The maximum embedded fraction must be exactly 25%. And the minimum
|
||||
|
Reference in New Issue
Block a user