diff options
author | drh <drh@noemail.net> | 2011-01-26 19:46:22 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2011-01-26 19:46:22 +0000 |
commit | 0b52b7d0cd6cca25a4fc1838a3de6e6584c33aaf (patch) | |
tree | 59e73b79ce0438638e8b90bbd446e80f0745fcf4 /src/os_win.c | |
parent | b69577d3b8fbf944ba032f39b4b6d5eb3ff99c85 (diff) | |
download | sqlite-0b52b7d0cd6cca25a4fc1838a3de6e6584c33aaf.tar.gz sqlite-0b52b7d0cd6cca25a4fc1838a3de6e6584c33aaf.zip |
Update all built-in VFSes to return SQLITE_OK for the
SQLITE_FCNTL_SYNC_OMITTED file-control operation. Also change the
xFileControl methods to return SQLITE_NOTFOUND for unrecognized
operation codes.
FossilOrigin-Name: 6f2c72a0f6579db3f40c079436ca40e3e52bd6d9
Diffstat (limited to 'src/os_win.c')
-rw-r--r-- | src/os_win.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/os_win.c b/src/os_win.c index 1be514999..70425178e 100644 --- a/src/os_win.c +++ b/src/os_win.c @@ -1183,8 +1183,11 @@ static int winFileControl(sqlite3_file *id, int op, void *pArg){ SimulateIOErrorBenign(0); return SQLITE_OK; } + case SQLITE_FCNTL_SYNC_OMITTED: { + return SQLITE_OK; + } } - return SQLITE_ERROR; + return SQLITE_NOTFOUND; } /* |