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

Fix a bug in code for winCE. Ticket #2700. (CVS 4477)

FossilOrigin-Name: a36fca4cdef162c87ce47a50ededdea19a8865f9
This commit is contained in:
drh
2007-10-08 12:22:57 +00:00
parent 496936c881
commit aab2e6d271
3 changed files with 8 additions and 8 deletions

View File

@@ -1168,7 +1168,7 @@ static int winOpen(
#if OS_WINCE
if( (flags & (SQLITE_OPEN_READWRITE|SQLITE_OPEN_MAIN_DB)) ==
(SQLITE_OPEN_READWRITE|SQLITE_OPEN_MAIN_DB)
&& !winceCreateLock(zFilename, pFile)
&& !winceCreateLock(zName, pFile)
){
CloseHandle(h);
free(zConverted);