mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
Work toward correct btree locking in a multithreaded environment. (CVS 4307)
FossilOrigin-Name: b8cc493b47e618648f645ab73eb0253739e03fcd
This commit is contained in:
@@ -658,6 +658,13 @@ static char *displayP3(Op *pOp, char *zTemp, int nTemp){
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
** Add a btree to the set of btrees that might need a mutex.
|
||||
*/
|
||||
void sqlite3VdbeAddMutexBtree(Vdbe *p, Btree *pBtree){
|
||||
sqlite3BtreeMutexSetInsert(&p->mtxSet, pBtree);
|
||||
}
|
||||
|
||||
|
||||
#if defined(VDBE_PROFILE) || defined(SQLITE_DEBUG)
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user