1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Fix an file separator character issue with test_quota.c that was causing

it to fail on windows.

FossilOrigin-Name: ddb8d3e80df868bda0704feed31171fa055432b5
This commit is contained in:
drh
2011-08-25 03:38:31 +00:00
parent 31e8097658
commit 26541c9a00
4 changed files with 46 additions and 31 deletions

View File

@@ -815,8 +815,8 @@ int sqlite3_quota_file(const char *zFilename){
SQLITE_OPEN_READONLY | SQLITE_OPEN_MAIN_DB, &outFlags);
}
if( rc==SQLITE_OK ){
quotaFileSize(fd, &iSize);
quotaClose(fd);
fd->pMethods->xFileSize(fd, &iSize);
fd->pMethods->xClose(fd);
}else if( rc==SQLITE_CANTOPEN ){
quotaGroup *pGroup;
quotaFile *pFile;