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

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

@@ -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