Searched refs:iTable (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dbtree.h57 int (*Cursor)(Btree*, int iTable, int wrFlag, BtCursor **ppCur);
119 #define sqliteBtreeDropTable(pBt, iTable) (btOps(pBt)->DropTable(pBt, iTable))
120 #define sqliteBtreeClearTable(pBt, iTable)\
121 (btOps(pBt)->ClearTable(pBt, iTable))
122 #define sqliteBtreeCursor(pBt, iTable, wrFlag, ppCur)\
123 (btOps(pBt)->Cursor(pBt, iTable, wrFlag, ppCur))
H A Dauth.c121 if( pExpr->iTable==pTabList->a[iSrc].iCursor ) break;
132 assert( pExpr->iTable==pStack->newIdx || pExpr->iTable==pStack->oldIdx );
H A Dtest3.c206 int rc, iTable; local
214 rc = sqliteBtreeCreateTable(pBt, &iTable);
219 sprintf(zBuf, "%d", iTable);
236 int iTable; local
244 if( Tcl_GetInt(interp, argv[2], &iTable) ) return TCL_ERROR;
245 rc = sqliteBtreeDropTable(pBt, iTable);
265 int iTable; local
273 if( Tcl_GetInt(interp, argv[2], &iTable) ) return TCL_ERROR;
274 rc = sqliteBtreeClearTable(pBt, iTable);
519 int iTable; local
[all...]
H A Dwhere.c43 ** are small integers contained in SrcList_item.iCursor and Expr.iTable
122 ** sets their opcodes to TK_COLUMN and their Expr.iTable fields to
129 mask = getMask(pMaskSet, p->iTable);
183 pInfo->idxRight = pExpr->pRight->iTable;
187 pInfo->idxLeft = pExpr->pLeft->iTable;
243 if( p->op!=TK_COLUMN || p->iTable!=base ){
758 sqliteVdbeAddOp(v, OP_SetFirst, pX->iTable, brk);
760 pLevel->inP1 = pX->iTable;
764 sqliteVdbeAddOp(v, OP_Rewind, pX->iTable, brk);
765 sqliteVdbeAddOp(v, OP_KeyAsData, pX->iTable,
[all...]
H A Dexpr.c394 ** pExpr->iTable Set to the cursor number for the table obtained
450 pExpr->iTable = -1;
471 pExpr->iTable = pItem->iCursor;
477 pExpr->iTable = pItem->iCursor;
494 pExpr->iTable = pTriggerStack->newIdx;
498 pExpr->iTable = pTriggerStack->oldIdx;
605 ** Expr.opcode for such nodes is changed to TK_COLUMN. The Expr.iTable
699 ** been put in iTable by sqliteExprResolveInSelect().
701 pExpr->iTable = pParse->nTab++;
702 sqliteVdbeAddOp(v, OP_OpenTemp, pExpr->iTable,
[all...]
H A Dselect.c676 for(j=0; j<pTabList->nSrc && pTabList->a[j].iCursor!=p->iTable; j++){}
731 for(j=0; j<pTabList->nSrc && pTabList->a[j].iCursor!=p->iTable; j++){}
1074 ** the top-level node is filled in with column number and the iTable
1075 ** value of the top-level node is filled with iTable parameter.
1094 int iTable, /* Insert this value in iTable */
1109 if( matchOrderbyToColumn(pParse, pSelect->pPrior, pOrderBy, iTable, 0) ){
1148 pE->iTable = iTable;
1517 ** a column in table number iTable wit
1090 matchOrderbyToColumn( Parse *pParse, Select *pSelect, ExprList *pOrderBy, int iTable, int mustComplete ) argument
1529 substExpr(Expr *pExpr, int iTable, ExprList *pEList) argument
1561 substExprList(ExprList *pList, int iTable, ExprList *pEList) argument
[all...]
H A Dbtree.c1007 ** iTable. The act of acquiring a cursor gets a read lock on
1037 ** No checking is done to make sure that page iTable really is the
1042 int fileBtreeCursor(Btree *pBt, int iTable, int wrFlag, BtCursor **ppCur){ argument
1062 pCur->pgnoRoot = (Pgno)iTable;
2848 static int fileBtreeClearTable(Btree *pBt, int iTable){ argument
2855 if( pCur->pgnoRoot==(Pgno)iTable ){
2860 rc = clearDatabasePage(pBt, (Pgno)iTable, 0);
2872 static int fileBtreeDropTable(Btree *pBt, int iTable){ argument
2880 if( pCur->pgnoRoot==(Pgno)iTable ){
2884 rc = sqlitepager_get(pBt->pPager, (Pgno)iTable, (voi
[all...]
H A Dbtree_rb.c712 * Get a new cursor for table iTable of the supplied Rbtree. The wrFlag
719 int iTable,
727 pCur->pTree = sqliteHashFind(&tree->tblHash, 0, iTable);
730 pCur->iTree = iTable;
717 memRbtreeCursor( Rbtree* tree, int iTable, int wrFlag, RbtCursor **ppCur ) argument
H A DsqliteInt.h667 ** For such expressions, Expr.op is set to TK_COLUMN and Expr.iTable is
674 ** If the expression is a function, the Expr.iTable is an integer code
677 ** Expr.iTable holds the index number for that variable.
694 int iTable, iColumn; /* When op==TK_COLUMN, then this expr node means the member in struct:Expr
695 ** iColumn-th field of the iTable-th table. */
H A Dparse.y559 if( A ) A->iTable = ++pParse->nVar;

Completed in 87 milliseconds