@@ -224770,8 +224770,8 @@ int sqlcipher_codec_ctx_migrate(codec_ctx *ctx) {
224770
224770
pSrc = pDb->pBt;
224771
224771
224772
224772
rc = sqlite3_exec(db, "BEGIN;", NULL, NULL, NULL);
224773
- rc = sqlite3BtreeBeginTrans(pSrc, 2);
224774
- rc = sqlite3BtreeBeginTrans(pDest, 2);
224773
+ rc = sqlite3BtreeBeginTrans(pSrc, 2, 0 );
224774
+ rc = sqlite3BtreeBeginTrans(pDest, 2, 0 );
224775
224775
224776
224776
assert( 1==sqlite3BtreeIsInTrans(pDest) );
224777
224777
assert( 1==sqlite3BtreeIsInTrans(pSrc) );
@@ -225589,7 +225589,7 @@ int sqlite3_rekey_v2(sqlite3 *db, const char *zDb, const void *pKey, int nKey) {
225589
225589
** 3. If that goes ok then commit and put ctx->rekey into ctx->key
225590
225590
** note: don't deallocate rekey since it may be used in a subsequent iteration
225591
225591
*/
225592
- rc = sqlite3BtreeBeginTrans(pDb->pBt, 1); /* begin write transaction */
225592
+ rc = sqlite3BtreeBeginTrans(pDb->pBt, 1, 0 ); /* begin write transaction */
225593
225593
sqlite3PagerPagecount(pPager, &page_count);
225594
225594
for(pgno = 1; rc == SQLITE_OK && pgno <= (unsigned int)page_count; pgno++) { /* pgno's start at 1 see pager.c:pagerAcquire */
225595
225595
if(!sqlite3pager_is_mj_pgno(pPager, pgno)) { /* skip this page (see pager.c:pagerAcquire for reasoning) */
0 commit comments