Home | History | Annotate | Download | only in orig

Lines Matching defs:pCx

63950 SQLITE_PRIVATE void sqlite3VdbeFreeCursor(Vdbe *p, VdbeCursor *pCx){
63951 if( pCx==0 ){
63954 sqlite3VdbeSorterClose(p->db, pCx);
63955 if( pCx->pBt ){
63956 sqlite3BtreeClose(pCx->pBt);
63957 /* The pCx->pCursor will be close automatically, if it exists, by
63959 }else if( pCx->pCursor ){
63960 sqlite3BtreeCloseCursor(pCx->pCursor);
63963 if( pCx->pVtabCursor ){
63964 sqlite3_vtab_cursor *pVtabCursor = pCx->pVtabCursor;
68104 VdbeCursor *pCx = 0;
68115 p->apCsr[iCur] = pCx = (VdbeCursor*)pMem->z;
68116 memset(pCx, 0, sizeof(VdbeCursor));
68117 pCx->iDb = iDb;
68118 pCx->nField = nField;
68120 pCx->pCursor = (BtCursor*)
68122 sqlite3BtreeCursorZero(pCx->pCursor);
68125 return pCx;
71385 VdbeCursor *pCx;
71396 pCx = allocateCursor(p, pOp->p1, pOp->p2, -1, 1);
71397 if( pCx==0 ) goto no_mem;
71398 pCx->nullRow = 1;
71399 pCx->isEphemeral = 1;
71400 rc = sqlite3BtreeOpen(db->pVfs, 0, db, &pCx->pBt,
71403 rc = sqlite3BtreeBeginTrans(pCx->pBt, 1);
71414 rc = sqlite3BtreeCreateTable(pCx->pBt, &pgno, BTREE_BLOBKEY | pOp->p5);
71419 pCx->pKeyInfo = pKeyInfo;
71420 rc = sqlite3BtreeCursor(pCx->pBt, pgno, 1, pKeyInfo, pCx->pCursor);
71422 pCx->isTable = 0;
71424 rc = sqlite3BtreeCursor(pCx->pBt, MASTER_ROOT, 1, 0, pCx->pCursor);
71425 pCx->isTable = 1;
71428 pCx->isOrdered = (pOp->p5!=BTREE_UNORDERED);
71439 VdbeCursor *pCx;
71443 pCx = allocateCursor(p, pOp->p1, pOp->p2, -1, 1);
71444 if( pCx==0 ) goto no_mem;
71445 pCx->pKeyInfo = pOp->p4.pKeyInfo;
71446 assert( pCx->pKeyInfo->db==db );
71447 assert( pCx->pKeyInfo->enc==ENC(db) );
71448 rc = sqlite3VdbeSorterInit(db, pCx);
71469 VdbeCursor *pCx;
71473 pCx = allocateCursor(p, pOp->p1, pOp->p3, -1, 0);
71474 if( pCx==0 ) goto no_mem;
71475 pCx->nullRow = 1;
71476 pCx->pseudoTableReg = pOp->p2;
71477 pCx->isTable = 1;
142395 #define FTS3_MATCHINFO_DEFAULT "pcx"
143371 ** default value "pcx" if no second argument was specified). The format