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

Untested fix for building on VxWorks.

FossilOrigin-Name: f14d55cf358b0392d3b8cd61dc85f43a610a8edf
This commit is contained in:
drh
2013-04-27 12:13:29 +00:00
parent a13090fee9
commit c5797545de
3 changed files with 8 additions and 9 deletions

View File

@@ -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__);