1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Add new primary error codes SQLITE_NOTICE and SQLITE_WARNING for use with

sqlite3_log().  Add new extended error codes SQLITE_NOTICE_RECOVER_WAL and
SQLITE_NOTICE_RECOVER_ROLLBACK to use with sqlite3_log() messages that occur
on each recovery.

FossilOrigin-Name: be7d2c5482c41baf000d7fb5dccc31b974e91064
This commit is contained in:
drh
2013-04-10 23:48:37 +00:00
parent 56282a5bc7
commit d040e76442
11 changed files with 119 additions and 211 deletions

View File

@@ -2832,7 +2832,7 @@ end_playback:
testcase( rc!=SQLITE_OK );
}
if( isHot && nPlayback ){
sqlite3_log(SQLITE_OK, "Recovered %d pages from %s",
sqlite3_log(SQLITE_NOTICE_RECOVER_ROLLBACK, "recovered %d pages from %s",
nPlayback, pPager->zJournal);
}