/ Check-in [5d533eee]
Login

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

Overview
Comment:Change the sqlite3_log() message generated on a retry after delay in os_win to be an SQLITE_NOTICE instead of SQLITE_IOERR.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5d533eee049e63b3700f5ef7c28c588afccde57a
User & Date: drh 2015-03-31 17:32:06
Context
2015-03-31
18:05
Add the "mptest" target to main.mk. Change TRUNCATE and PERSIST to DELETE for mptest.c on Windows because of problems trying to delete the journal. check-in: ea697e6d user: drh tags: trunk
17:45
Testing enhancements on Windows. check-in: 9cc70eee user: mistachkin tags: winTest
17:32
Change the sqlite3_log() message generated on a retry after delay in os_win to be an SQLITE_NOTICE instead of SQLITE_IOERR. check-in: 5d533eee user: drh tags: trunk
17:01
Fix configure.ac and Makefile.in so that they generate pkgIndex.tcl correctly. check-in: 3deff252 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_win.c.

  1964   1964   }
  1965   1965   
  1966   1966   /*
  1967   1967   ** Log a I/O error retry episode.
  1968   1968   */
  1969   1969   static void winLogIoerr(int nRetry, int lineno){
  1970   1970     if( nRetry ){
  1971         -    sqlite3_log(SQLITE_IOERR,
         1971  +    sqlite3_log(SQLITE_NOTICE,
  1972   1972         "delayed %dms for lock/sharing conflict at line %d",
  1973   1973         winIoerrRetryDelay*nRetry*(nRetry+1)/2, lineno
  1974   1974       );
  1975   1975     }
  1976   1976   }
  1977   1977   
  1978   1978   #if SQLITE_OS_WINCE