diff options
author | drh <drh@noemail.net> | 2013-04-27 12:13:29 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-04-27 12:13:29 +0000 |
commit | c5797545de1b6bd30acc640443069a612e1b6194 (patch) | |
tree | 77516d9f5652d90c619ee28f59d70440f5f80a09 /src/os_unix.c | |
parent | a13090fee950b1b34abdb532b18315b30758abe1 (diff) | |
download | sqlite-c5797545de1b6bd30acc640443069a612e1b6194.tar.gz sqlite-c5797545de1b6bd30acc640443069a612e1b6194.zip |
Untested fix for building on VxWorks.
FossilOrigin-Name: f14d55cf358b0392d3b8cd61dc85f43a610a8edf
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 1200ff352..007441241 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -5287,9 +5287,8 @@ static int fillInUnixFile( if( h>=0 ) robust_close(pNew, h, __LINE__); h = -1; osUnlink(zFilename); - isDelete = 0; + pNew->ctrlFlags |= UNIXFILE_DELETE; } - if( isDelete ) pNew->ctrlFlags |= UNIXFILE_DELETE; #endif if( rc!=SQLITE_OK ){ if( h>=0 ) robust_close(pNew, h, __LINE__); |