mirror of
				https://github.com/isar/libmdbx.git
				synced 2025-10-31 03:29:01 +08:00 
			
		
		
		
	mdbx: fix assertion inside mdbx_txn_commit_ex() for nested spilled txn.
				
					
				
			Change-Id: I54b37ea1b9591bdec9d8bd16d0f57280a1f9ee77
This commit is contained in:
		| @@ -8331,7 +8331,7 @@ int mdbx_txn_commit_ex(MDBX_txn *txn, MDBX_commit_latency *latency) { | ||||
|     if (likely(src->length > 0) && parent->tw.spill_pages && | ||||
|         MDBX_PNL_SIZE(parent->tw.spill_pages) > 0) { | ||||
|       const MDBX_PNL sp = parent->tw.spill_pages; | ||||
|       assert(mdbx_pnl_check4assert(sp, txn->mt_next_pgno)); | ||||
|       mdbx_tassert(txn, mdbx_pnl_check4assert(sp, txn->mt_next_pgno << 1 | 1)); | ||||
|  | ||||
|       /* Mark our dirty pages as deleted in parent spill list */ | ||||
|       size_t r, w, i = 1; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user