OLD | NEW |
1 /* | 1 /* |
2 ** 2007 May 05 | 2 ** 2007 May 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 MemPage *pPage = pCur->apPage[pCur->iPage]; | 53 MemPage *pPage = pCur->apPage[pCur->iPage]; |
54 char *zMode = (pCur->curFlags & BTCF_WriteFlag) ? "rw" : "ro"; | 54 char *zMode = (pCur->curFlags & BTCF_WriteFlag) ? "rw" : "ro"; |
55 sqlite3DebugPrintf("CURSOR %p rooted at %4d(%s) currently at %d.%d%s\n", | 55 sqlite3DebugPrintf("CURSOR %p rooted at %4d(%s) currently at %d.%d%s\n", |
56 pCur, pCur->pgnoRoot, zMode, | 56 pCur, pCur->pgnoRoot, zMode, |
57 pPage ? pPage->pgno : 0, pCur->aiIdx[pCur->iPage], | 57 pPage ? pPage->pgno : 0, pCur->aiIdx[pCur->iPage], |
58 (pCur->eState==CURSOR_VALID) ? "" : " eof" | 58 (pCur->eState==CURSOR_VALID) ? "" : " eof" |
59 ); | 59 ); |
60 } | 60 } |
61 #endif | 61 #endif |
62 } | 62 } |
OLD | NEW |