1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Replace the assert() that was removed by [f023cb541b5dd72c] because

[1cd5d4623f44af25] made it true again.

FossilOrigin-Name: 189a49f165dfc348a8730ad2b2288b9b2b2089b1de99fa2d515f2a90c9e7bd4e
This commit is contained in:
drh
2024-02-12 19:12:30 +00:00
parent 98a8ffb3b3
commit 8e821c251d
3 changed files with 10 additions and 8 deletions

View File

@ -3225,6 +3225,7 @@ constraint:
*/
static int rtreeBeginTransaction(sqlite3_vtab *pVtab){
Rtree *pRtree = (Rtree *)pVtab;
assert( pRtree->inWrTrans==0 );
pRtree->inWrTrans = 1;
return SQLITE_OK;
}