mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
New assert()s confirm that BTREE_PREFORMAT must be the same value as
OPFLAG_PREFORMAT. FossilOrigin-Name: f40bf2c642643ae61d331e8d4815f601224fa258ab34344c6756966163a89f4a
This commit is contained in:
@@ -9172,6 +9172,7 @@ int sqlite3BtreeInsert(
|
||||
assert( pPage->isInit || CORRUPT_DB );
|
||||
newCell = pBt->pTmpSpace;
|
||||
assert( newCell!=0 );
|
||||
assert( BTREE_PREFORMAT==OPFLAG_PREFORMAT );
|
||||
if( flags & BTREE_PREFORMAT ){
|
||||
rc = SQLITE_OK;
|
||||
szNew = pBt->nPreformatSize;
|
||||
|
Reference in New Issue
Block a user