OLD | NEW |
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 Loading... |
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 |
OLD | NEW |