1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-15 11:41:13 +03:00

Continued progress toward a working wince backend. (CVS 2885)

FossilOrigin-Name: 15fda14ee0c0524d3064d767f48edd689c090d95
This commit is contained in:
drh
2006-01-07 18:14:48 +00:00
parent 403110c84a
commit 4bddfd2f6e
3 changed files with 13 additions and 7 deletions

View File

@@ -320,6 +320,9 @@ int sqlite3WinOpenReadWrite(
f.h = h;
f.locktype = NO_LOCK;
f.sharedLockByte = 0;
#if OS_WINCE
f.zDeleteOnClose = 0;
#endif
TRACE3("OPEN R/W %d \"%s\"\n", h, zFilename);
return allocateWinFile(&f, pId);
}
@@ -430,6 +433,9 @@ int sqlite3WinOpenReadOnly(const char *zFilename, OsFile **pId){
f.h = h;
f.locktype = NO_LOCK;
f.sharedLockByte = 0;
#if OS_WINCE
f.zDeleteOnClose = 0;
#endif
TRACE3("OPEN RO %d \"%s\"\n", h, zFilename);
return allocateWinFile(&f, pId);
}