Searched refs:wrFlag (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dbtree.h57 int (*Cursor)(Btree*, int iTable, int wrFlag, BtCursor **ppCur);
122 #define sqliteBtreeCursor(pBt, iTable, wrFlag, ppCur)\
123 (btOps(pBt)->Cursor(pBt, iTable, wrFlag, ppCur))
H A Dbtree_rb.c107 u8 wrFlag; /* True if this cursor is open for writing */ member in struct:RbtCursor
152 ** wrFlag==0 then this routine returns SQLITE_LOCKED. If all
153 ** cursors point to the same table were opened with wrFlag==1
157 ** means a cursor opened with wrFlag==0) this routine also NULLs
165 assert( pCur->wrFlag );
168 if( p->wrFlag==0 ) return SQLITE_LOCKED;
712 * Get a new cursor for table iTable of the supplied Rbtree. The wrFlag
720 int wrFlag,
732 pCur->wrFlag = wrFlag;
717 memRbtreeCursor( Rbtree* tree, int iTable, int wrFlag, RbtCursor **ppCur ) argument
[all...]
H A Dtest3.c522 int wrFlag; local
532 if( Tcl_GetBoolean(interp, argv[3], &wrFlag) ) return TCL_ERROR;
533 rc = sqliteBtreeCursor(pBt, iTable, wrFlag, &pCur);
H A Dbtree.c378 u8 wrFlag; /* True if writable */ member in struct:BtCursor
1010 ** If wrFlag==0, then the cursor can only be used for reading.
1011 ** If wrFlag==1, then the cursor can be used for reading or for
1016 ** 1: The cursor must have been opened with wrFlag==1
1018 ** 2: No other cursors may be open with wrFlag==0 on the same table
1025 ** on a table with wrFlag==0, that prevents all other cursors from
1027 ** is opened with wrFlag==0 it is guaranteed that the table will not
1031 ** be opened with wrFlag==0 only if this read-lock property is needed.
1032 ** That is to say, cursors should be opened with wrFlag==0 only if they
1034 ** should be opened with wrFlag
1042 fileBtreeCursor(Btree *pBt, int iTable, int wrFlag, BtCursor **ppCur) argument
[all...]
H A Dvdbe.c2397 int wrFlag; local
2408 wrFlag = pOp->opcode==OP_OpenWrite;
2427 rc = sqliteBtreeCursor(pX, p2, wrFlag, &p->aCsr[i].pCursor);

Completed in 62 milliseconds