Make sure the windows driver responds correctly to the

SQLITE_OPEN_DELETEONCLOSE flag.  Ticket #2829. (CVS 4607)

FossilOrigin-Name: 19db91fd683c465b8c8a862143a01178682da445
This commit is contained in:
drh 2007-12-10 21:11:31 +00:00
parent 70517ab9a1
commit 64c1ea60cd
3 changed files with 9 additions and 10 deletions

View File

@ -1,5 +1,5 @@
C Further\smodifications\sto\sdo\swith\sORDER\sBY\sand\scompound\sSELECT\squeries.\sRelated\sto\sticket\s#2822.\s(CVS\s4606)
D 2007-12-10T18:51:48
C Make\ssure\sthe\swindows\sdriver\sresponds\scorrectly\sto\sthe\nSQLITE_OPEN_DELETEONCLOSE\sflag.\s\sTicket\s#2829.\s(CVS\s4607)
D 2007-12-10T21:11:32
F Makefile.arm-wince-mingw32ce-gcc ac5f7b2cef0cd850d6f755ba6ee4ab961b1fadf7
F Makefile.in 30789bf70614bad659351660d76b8e533f3340e9
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@ -122,7 +122,7 @@ F src/os_test.c 49833426101f99aee4bb5f6a44b7c4b2029fda1c
F src/os_test.h 903c93554c23d88f34f667f1979e4a1cee792af3
F src/os_unix.c 10641ed959b960915deaf2d053105e1ee9849d88
F src/os_unix.h 5768d56d28240d3fe4537fac08cc85e4fb52279e
F src/os_win.c a92769a7ec45ff908ca5e83553c8582215bb58c5
F src/os_win.c 737fe6858340982054c22bde0c3cff7622c9dc44
F src/os_win.h 41a946bea10f61c158ce8645e7646b29d44f122b
F src/pager.c 2f420d4605159f3a3cd06c70c927cb00a731affa
F src/pager.h f504f7ae84060fee0416a853e368d3d113c3d6fa
@ -598,7 +598,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
P 6adbe91efffc6b3f53dae87494430ede61d40ecc
R c5664694f29e5838b66b78cd136777a8
U danielk1977
Z 0cfc5f38f552087a6f749e4e8561ad47
P 0d9b0e6e3a8f8a66956878084085842e94c3cb2f
R c366a4cd83264cae9aaf44c2780f213e
U drh
Z b8312678fecc68786c25bce111e857ca

View File

@ -1 +1 @@
0d9b0e6e3a8f8a66956878084085842e94c3cb2f
19db91fd683c465b8c8a862143a01178682da445

View File

@ -1103,8 +1103,7 @@ static int winOpen(
}else{
dwShareMode = 0;
}
if( flags & (SQLITE_OPEN_TEMP_DB | SQLITE_OPEN_TEMP_JOURNAL
| SQLITE_OPEN_SUBJOURNAL) ){
if( flags & SQLITE_OPEN_DELETEONCLOSE ){
#if OS_WINCE
dwFlagsAndAttributes = FILE_ATTRIBUTE_HIDDEN;
#else