Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(925)

Side by Side Diff: third_party/sqlite/sqlite-src-3080704/test/tt3_checkpoint.c

Issue 883353008: [sql] Import reference version of SQLite 3.8.7.4. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hold back encoding change which is messing up patch. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 ** 2001 September 15 2 ** 2001 September 15
3 ** 3 **
4 ** The author disclaims copyright to this source code. In place of 4 ** The author disclaims copyright to this source code. In place of
5 ** a legal notice, here is a blessing: 5 ** a legal notice, here is a blessing:
6 ** 6 **
7 ** May you do good and not evil. 7 ** May you do good and not evil.
8 ** May you find forgiveness for yourself and forgive others. 8 ** May you find forgiveness for yourself and forgive others.
9 ** May you share freely, never taking more than you give. 9 ** May you share freely, never taking more than you give.
10 ** 10 **
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 Error err = {0}; 141 Error err = {0};
142 CheckpointStarvationCtx ctx = { SQLITE_CHECKPOINT_RESTART, 0 }; 142 CheckpointStarvationCtx ctx = { SQLITE_CHECKPOINT_RESTART, 0 };
143 checkpoint_starvation_main(nMs, &ctx); 143 checkpoint_starvation_main(nMs, &ctx);
144 if( ctx.nMaxFrame>CHECKPOINT_STARVATION_FRAMELIMIT+10 ){ 144 if( ctx.nMaxFrame>CHECKPOINT_STARVATION_FRAMELIMIT+10 ){
145 test_error(&err, "WAL grew too large - %d frames", ctx.nMaxFrame); 145 test_error(&err, "WAL grew too large - %d frames", ctx.nMaxFrame);
146 } 146 }
147 print_and_free_err(&err); 147 print_and_free_err(&err);
148 } 148 }
149 149
150 150
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/test/triggerE.test ('k') | third_party/sqlite/sqlite-src-3080704/test/tt3_index.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698