Fix some problems in RBU test cases. Also update RBU source code to better

handle the trivial case where an RBU update is applied to a database zero
pages in size.

FossilOrigin-Name: 7676b39bc120ae23da0c6a14452eb99a58901ee45c3d43b8beae426f9e4dc0c3
This commit is contained in:
dan
2017-08-03 15:43:55 +00:00
parent 5859636fb1
commit 0c2e5cfda5
7 changed files with 20 additions and 18 deletions
+3 -1
View File
@@ -4610,7 +4610,9 @@ static int rbuVfsAccess(
if( *pResOut ){
rc = SQLITE_CANTOPEN;
}else{
*pResOut = 1;
sqlite3_int64 sz = 0;
rc = rbuVfsFileSize(&pDb->base, &sz);
*pResOut = (sz>0);
}
}
}