Home | History | Annotate | Download | only in dist

Lines Matching defs:pCx

63970 SQLITE_PRIVATE void sqlite3VdbeFreeCursor(Vdbe *p, VdbeCursor *pCx){
63971 if( pCx==0 ){
63974 sqlite3VdbeSorterClose(p->db, pCx);
63975 if( pCx->pBt ){
63976 sqlite3BtreeClose(pCx->pBt);
63977 /* The pCx->pCursor will be close automatically, if it exists, by
63979 }else if( pCx->pCursor ){
63980 sqlite3BtreeCloseCursor(pCx->pCursor);
63983 if( pCx->pVtabCursor ){
63984 sqlite3_vtab_cursor *pVtabCursor = pCx->pVtabCursor;
68124 VdbeCursor *pCx = 0;
68135 p->apCsr[iCur] = pCx = (VdbeCursor*)pMem->z;
68136 memset(pCx, 0, sizeof(VdbeCursor));
68137 pCx->iDb = iDb;
68138 pCx->nField = nField;
68140 pCx->pCursor = (BtCursor*)
68142 sqlite3BtreeCursorZero(pCx->pCursor);
68145 return pCx;
71405 VdbeCursor *pCx;
71416 pCx = allocateCursor(p, pOp->p1, pOp->p2, -1, 1);
71417 if( pCx==0 ) goto no_mem;
71418 pCx->nullRow = 1;
71419 pCx->isEphemeral = 1;
71420 rc = sqlite3BtreeOpen(db->pVfs, 0, db, &pCx->pBt,
71423 rc = sqlite3BtreeBeginTrans(pCx->pBt, 1);
71434 rc = sqlite3BtreeCreateTable(pCx->pBt, &pgno, BTREE_BLOBKEY | pOp->p5);
71439 pCx->pKeyInfo = pKeyInfo;
71440 rc = sqlite3BtreeCursor(pCx->pBt, pgno, 1, pKeyInfo, pCx->pCursor);
71442 pCx->isTable = 0;
71444 rc = sqlite3BtreeCursor(pCx->pBt, MASTER_ROOT, 1, 0, pCx->pCursor);
71445 pCx->isTable = 1;
71448 pCx->isOrdered = (pOp->p5!=BTREE_UNORDERED);
71459 VdbeCursor *pCx;
71463 pCx = allocateCursor(p, pOp->p1, pOp->p2, -1, 1);
71464 if( pCx==0 ) goto no_mem;
71465 pCx->pKeyInfo = pOp->p4.pKeyInfo;
71466 assert( pCx->pKeyInfo->db==db );
71467 assert( pCx->pKeyInfo->enc==ENC(db) );
71468 rc = sqlite3VdbeSorterInit(db, pCx);
71489 VdbeCursor *pCx;
71493 pCx = allocateCursor(p, pOp->p1, pOp->p3, -1, 0);
71494 if( pCx==0 ) goto no_mem;
71495 pCx->nullRow = 1;
71496 pCx->pseudoTableReg = pOp->p2;
71497 pCx->isTable = 1;
142427 #define FTS3_MATCHINFO_DEFAULT "pcx"
143403 ** default value "pcx" if no second argument was specified). The format