/ Check-in [944d5f81]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix to the previous check-in. (CVS 3446)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 944d5f812004e2dc0065fce267accf8907235a50
User & Date: drh 2006-09-26 00:37:11
Context
2006-09-28
11:41
Avoid segfaults when inserted NULL values into FTS1. (CVS 3447) check-in: 165645d3 user: drh tags: trunk
2006-09-26
00:37
Fix to the previous check-in. (CVS 3446) check-in: 944d5f81 user: drh tags: trunk
00:34
Performance improvement and bug fix in sqlite3WinDelete(). (CVS 3445) check-in: 46ac1ac2 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_win.c.

   500    500       sqliteFree(zWide);
   501    501     }else{
   502    502   #if OS_WINCE
   503    503       return SQLITE_NOMEM;
   504    504   #else
   505    505       do{
   506    506         rc = DeleteFileA(zFilename);
   507         -    }while( rc==0 && GetFileAttributesA(zFilename)
          507  +    }while( rc==0 && GetFileAttributesA(zFilename)!=0xffffffff
   508    508               && cnt++ < MX_DELETION_ATTEMPTS && (Sleep(100), 1) );
   509    509   #endif
   510    510     }
   511    511     TRACE2("DELETE \"%s\"\n", zFilename);
   512    512     return rc!=0 ? SQLITE_OK : SQLITE_IOERR;
   513    513   }
   514    514