Lines Matching refs:wrFlag
8061 int wrFlag, /* 1 for writing. 0 for read-only */
47837 u8 wrFlag; /* True if writable */
51504 if( pCur->wrFlag && pCur->eState!=CURSOR_FAULT ) r++;
51681 ** If wrFlag==0, then the cursor can only be used for reading.
51682 ** If wrFlag==1, then the cursor can be used for reading or for
51687 ** 1: The cursor must have been opened with wrFlag==1
51691 ** cursors open with wrFlag==0 on the same table. Otherwise
51709 int wrFlag, /* 1 to write. 0 read-only */
51716 assert( wrFlag==0 || wrFlag==1 );
51722 assert( hasSharedCacheTableLock(p, iTable, pKeyInfo!=0, wrFlag+1) );
51723 assert( wrFlag==0 || !hasReadConflicts(p, iTable) );
51727 assert( wrFlag==0 || p->inTrans==TRANS_WRITE );
51730 if( NEVER(wrFlag && pBt->readOnly) ){
51734 assert( wrFlag==0 );
51745 pCur->wrFlag = (u8)wrFlag;
51758 int wrFlag, /* 1 to write. 0 read-only */
51764 rc = btreeCursor(p, iTable, wrFlag, pKeyInfo, pCur);
54961 assert( pCur->wrFlag && pBt->inTransaction==TRANS_WRITE && !pBt->readOnly );
55091 assert( pCur->wrFlag );
56382 if( !pCsr->wrFlag ){
63831 int wrFlag;
66638 int wrFlag;
66659 u.aw.wrFlag = 1;
66665 u.aw.wrFlag = 0;
66696 rc = sqlite3BtreeCursor(u.aw.pX, u.aw.p2, u.aw.wrFlag, u.aw.pKeyInfo, u.aw.pCur->pCursor);