10000 Pass flag to sqlite3PagerGet · g-coder/sqlcipher@cbcb037 · GitHub
[go: up one dir, main page]

Skip to content

Commit cbcb037

Browse files
Pass flag to sqlite3PagerGet
1 parent ff730e5 commit cbcb037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ int sqlite3_rekey_v2(sqlite3 *db, const char *zDb, const void *pKey, int nKey) {
461461
sqlite3PagerPagecount(pPager, &page_count);
462462
for(pgno = 1; rc == SQLITE_OK && pgno <= (unsigned int)page_count; pgno++) { /* pgno's start at 1 see pager.c:pagerAcquire */
463463
if(!sqlite3pager_is_mj_pgno(pPager, pgno)) { /* skip this page (see pager.c:pagerAcquire for reasoning) */
464-
rc = sqlite3PagerGet(pPager, pgno, &page);
464+
rc = sqlite3PagerGet(pPager, pgno, &page, 0);
465465
if(rc == SQLITE_OK) { /* write page see pager_incr_changecounter for example */
466466
rc = sqlite3PagerWrite(page);
467467
if(rc == SQLITE_OK) {

0 commit comments

Comments
 (0)
0