SQLite
Check-in [83fc48d1]
Not logged in
Overview
SHA1 Hash:83fc48d16572443373e5de62adbd4cd53c2f7786
Date: 2013-04-01 14:35:01
User: dan
Comment:Fix a typo in a log message in wal.c.
Tags And Properties
Context
2013-04-01
16:56
[a1040f03] Ensure that a checkpoint does not use an out-of-date mapping. (user: dan, tags: experimental-mmap)
14:35
[83fc48d1] Fix a typo in a log message in wal.c. (user: dan, tags: experimental-mmap)
14:29
[b724aa58] Fix a problem in btree.c that could cause a crash following an OOM. (user: dan, tags: experimental-mmap)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/wal.c.

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

recovery_error:
  WALTRACE(("WAL%p: recovery %s\n", pWal, rc ? "failed" : "ok"));
  walUnlockExclusive(pWal, iLock, nLock);







|







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

recovery_error:
  WALTRACE(("WAL%p: recovery %s\n", pWal, rc ? "failed" : "ok"));
  walUnlockExclusive(pWal, iLock, nLock);