Skip to content

Commit ebecc71

Browse files
committed
accommodate new void return from sqlite3PagerPagecount
1 parent 8a76b73 commit ebecc71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/crypto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ int sqlite3_rekey(sqlite3 *db, const void *pKey, int nKey) {
545545
** note: don't deallocate rekey since it may be used in a subsequent iteration
546546
*/
547547
rc = sqlite3BtreeBeginTrans(pDb->pBt, 1); /* begin write transaction */
548-
rc = sqlite3PagerPagecount(pPager, &page_count);
548+
sqlite3PagerPagecount(pPager, &page_count);
549549
for(pgno = 1; rc == SQLITE_OK && pgno <= page_count; pgno++) { /* pgno's start at 1 see pager.c:pagerAcquire */
550550
if(!sqlite3pager_is_mj_pgno(pPager, pgno)) { /* skip this page (see pager.c:pagerAcquire for reasoning) */
551551
rc = sqlite3PagerGet(pPager, pgno, &page);

0 commit comments

Comments
 (0)