/ Check-in [83fc48d1]
Login

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

Overview
Comment:Fix a typo in a log message in wal.c.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | experimental-mmap
Files: files | file ages | folders
SHA1: 83fc48d16572443373e5de62adbd4cd53c2f7786
User & Date: dan 2013-04-01 14:35:01
Context
2013-04-01
16:56
Ensure that a checkpoint does not use an out-of-date mapping. check-in: a1040f03 user: dan tags: experimental-mmap
14:35
Fix a typo in a log message in wal.c. check-in: 83fc48d1 user: dan tags: experimental-mmap
14:29
Fix a problem in btree.c that could cause a crash following an OOM. check-in: b724aa58 user: dan tags: experimental-mmap
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/wal.c.

  1204   1204       /* If more than one frame was recovered from the log file, report an
  1205   1205       ** event via sqlite3_log(). This is to help with identifying performance
  1206   1206       ** problems caused by applications routinely shutting down without
  1207   1207       ** checkpointing the log file.
  1208   1208       */
  1209   1209       if( pWal->hdr.nPage ){
  1210   1210         sqlite3_log(SQLITE_OK, "Recovered %d frames from WAL file %s",
  1211         -          pWal->hdr.nPage, pWal->zWalName
         1211  +          pWal->hdr.mxFrame, pWal->zWalName
  1212   1212         );
  1213   1213       }
  1214   1214     }
  1215   1215   
  1216   1216   recovery_error:
  1217   1217     WALTRACE(("WAL%p: recovery %s\n", pWal, rc ? "failed" : "ok"));
  1218   1218     walUnlockExclusive(pWal, iLock, nLock);