OLD | NEW |
1 /* | 1 /* |
2 ** 2008 August 05 | 2 ** 2008 August 05 |
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 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 ** callback. This is only used if the SQLITE_CHECK_PAGES macro is | 578 ** callback. This is only used if the SQLITE_CHECK_PAGES macro is |
579 ** defined. | 579 ** defined. |
580 */ | 580 */ |
581 void sqlite3PcacheIterateDirty(PCache *pCache, void (*xIter)(PgHdr *)){ | 581 void sqlite3PcacheIterateDirty(PCache *pCache, void (*xIter)(PgHdr *)){ |
582 PgHdr *pDirty; | 582 PgHdr *pDirty; |
583 for(pDirty=pCache->pDirty; pDirty; pDirty=pDirty->pDirtyNext){ | 583 for(pDirty=pCache->pDirty; pDirty; pDirty=pDirty->pDirtyNext){ |
584 xIter(pDirty); | 584 xIter(pDirty); |
585 } | 585 } |
586 } | 586 } |
587 #endif | 587 #endif |
OLD | NEW |