1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

If an error occurs within xAccess(), it should return -1. Remove an assert()

that was preventing it from doing so. (CVS 5098)

FossilOrigin-Name: 3fbcef46f7b6dcd20c1137692aa5bc0f64eaa3dd
This commit is contained in:
danielk1977
2008-05-07 14:49:21 +00:00
parent ef5a2e189f
commit 2a8ce735d1
3 changed files with 8 additions and 9 deletions

View File

@@ -122,7 +122,6 @@ int sqlite3OsAccess(sqlite3_vfs *pVfs, const char *zPath, int flags){
sqlite3_free(pTstAlloc);
#endif
rc = pVfs->xAccess(pVfs, zPath, flags);
assert( rc==0 || rc==1 );
return rc;
}
int sqlite3OsGetTempname(sqlite3_vfs *pVfs, int nBufOut, char *zBufOut){