/ 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 Unified Diffs Show Whitespace Changes Patch

Changes to src/os_win.c.

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








|







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