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

/external/chromium_org/third_party/sqlite/src/src/
H A Dtest3.c219 int iTable; local
231 if( Tcl_GetInt(interp, argv[2], &iTable) ) return TCL_ERROR;
237 rc = sqlite3BtreeLockTable(pBt, iTable, wrFlag);
240 rc = sqlite3BtreeCursor(pBt, iTable, wrFlag, 0, pCur);
H A DbtreeInt.h306 ** is opened on the table with root page BtShared.iTable. Locks are removed
312 Pgno iTable; /* Root page of table */ member in struct:BtLock
H A Dbuild.c1899 ** Write code to erase the table with root-page iTable from database iDb.
1902 ** erasing iTable (this can happen with an auto-vacuum database).
1904 static void destroyRootPage(Parse *pParse, int iTable, int iDb){ argument
1907 sqlite3VdbeAddOp3(v, OP_Destroy, iTable, r1, iDb);
1912 ** location iTable. The following code modifies the sqlite_master table to
1921 pParse->db->aDb[iDb].zName, SCHEMA_TABLE(iDb), iTable, r1, r1);
H A Dexpr.c1310 assert( p->iTable>=0 ); /* p cannot be part of a CHECK constraint */
1380 ** or ephermal table) is stored in pX->iTable before this function returns.
1531 pX->iTable = iTab;
1636 pExpr->iTable = pParse->nTab++;
1637 addr = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, pExpr->iTable, !isRowid);
1652 sqlite3SelectDestInit(&dest, SRT_Set, pExpr->iTable);
1654 assert( (pExpr->iTable&0x0000FFFF)==pExpr->iTable );
1702 sqlite3VdbeAddOp3(v, OP_InsertInt, pExpr->iTable, r2, iValToIns);
1708 sqlite3VdbeAddOp3(v, OP_Insert, pExpr->iTable, r
2154 sqlite3ExprCodeGetColumn( Parse *pParse, Table *pTab, int iColumn, int iTable, int iReg ) argument
[all...]
H A Dselect.c264 pEq->iRightJoinTable = (i16)pE2->iTable;
271 ** And set the Expr.iRightJoinTable to iTable for every term in the
295 static void setJoinExpr(Expr *p, int iTable){ argument
300 p->iRightJoinTable = (i16)iTable;
301 setJoinExpr(p->pLeft, iTable);
1004 for(j=0;j<pTabList->nSrc && pTabList->a[j].iCursor!=pExpr->iTable;j++);
1178 if( pTabList->a[j].iCursor==p->iTable ) break;
2480 ** a column in table number iTable with a copy of the iColumn-th
2487 ** FORM clause entry is iTable. This routine make the necessary
2494 int iTable, /* Tabl
2491 substExpr( sqlite3 *db, Expr *pExpr, int iTable, ExprList *pEList ) argument
2523 substExprList( sqlite3 *db, ExprList *pList, int iTable, ExprList *pEList ) argument
2535 substSelect( sqlite3 *db, Select *p, int iTable, ExprList *pEList ) argument
[all...]
H A Dbtree.c171 && (pLock->iTable==iTab || (pLock->eLock==WRITE_LOCK && pLock->iTable==1))
263 if( pIter->pBtree!=p && pIter->iTable==iTab && pIter->eLock!=eLock ){
278 ** Add a lock on the table with root-page iTable to the shared-btree used
294 static int setSharedCacheTableLock(Btree *p, Pgno iTable, u8 eLock){ argument
312 assert( SQLITE_OK==querySharedCacheTableLock(p, iTable, eLock) );
316 if( pIter->iTable==iTable && pIter->pBtree==p ){
323 ** with table iTable, allocate one and link it into the list.
330 pLock->iTable
3435 btreeCursor( Btree *p, int iTable, int wrFlag, struct KeyInfo *pKeyInfo, BtCursor *pCur ) argument
3483 sqlite3BtreeCursor( Btree *p, int iTable, int wrFlag, struct KeyInfo *pKeyInfo, BtCursor *pCur ) argument
7110 sqlite3BtreeClearTable(Btree *p, int iTable, int *pnChange) argument
7149 btreeDropTable(Btree *p, Pgno iTable, int *piMoved) argument
7252 sqlite3BtreeDropTable(Btree *p, int iTable, int *piMoved) argument
[all...]
H A DsqliteInt.h1537 int iTable; /* Cursor number of the source table */ member in struct:AggInfo::AggInfo_col
1601 ** For such expressions, Expr.op is set to TK_COLUMN and Expr.iTable is
1609 ** character '?' in the original SQL) then the Expr.iTable holds the index
1614 ** subquery gives a constant result, then iTable is -1. If the subquery
1616 ** then iTable is the address of a subroutine that computes the subquery.
1664 int iTable; /* TK_COLUMN: cursor number of table holding column member in struct:Expr
1733 #define EXPR_REDUCEDSIZE offsetof(Expr,iTable) /* Common features */
2193 int iTable; /* Table cursor number */ member in struct:Parse::yColCache
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.c7766 int iTable, /* Index of root page */
9882 int iTable; /* Cursor number of the source table */ member in struct:AggInfo::AggInfo_col
9946 ** For such expressions, Expr.op is set to TK_COLUMN and Expr.iTable is
9954 ** character '?' in the original SQL) then the Expr.iTable holds the index
9959 ** subquery gives a constant result, then iTable is -1. If the subquery
9961 ** then iTable is the address of a subroutine that computes the subquery.
10009 int iTable; /* TK_COLUMN: cursor number of table holding column member in struct:Expr
10078 #define EXPR_REDUCEDSIZE offsetof(Expr,iTable) /* Common features */
10538 int iTable; /* Table cursor number */ member in struct:Parse::yColCache
46514 Pgno iTable; /* Root page of table */ member in struct:BtLock
47413 setSharedCacheTableLock(Btree *p, Pgno iTable, u8 eLock) argument
50554 btreeCursor( Btree *p, int iTable, int wrFlag, struct KeyInfo *pKeyInfo, BtCursor *pCur ) argument
50602 sqlite3BtreeCursor( Btree *p, int iTable, int wrFlag, struct KeyInfo *pKeyInfo, BtCursor *pCur ) argument
54229 sqlite3BtreeClearTable(Btree *p, int iTable, int *pnChange) argument
54268 btreeDropTable(Btree *p, Pgno iTable, int *piMoved) argument
54371 sqlite3BtreeDropTable(Btree *p, int iTable, int *piMoved) argument
72891 sqlite3ExprCodeGetColumn( Parse *pParse, Table *pTab, int iColumn, int iTable, int iReg ) argument
78743 destroyRootPage(Parse *pParse, int iTable, int iDb) argument
90217 setJoinExpr(Expr *p, int iTable) argument
92413 substExpr( sqlite3 *db, Expr *pExpr, int iTable, ExprList *pEList ) argument
92445 substExprList( sqlite3 *db, ExprList *pList, int iTable, ExprList *pEList ) argument
92457 substSelect( sqlite3 *db, Select *p, int iTable, ExprList *pEList ) argument
[all...]
/external/sqlite/dist/orig/
H A Dsqlite3.c8987 int iTable, /* Index of root page */
11251 int iTable; /* Cursor number of the source table */ member in struct:AggInfo::AggInfo_col
11313 ** For such expressions, Expr.op is set to TK_COLUMN and Expr.iTable is
11321 ** character '?' in the original SQL) then the Expr.iTable holds the index
11326 ** subquery gives a constant result, then iTable is -1. If the subquery
11328 ** then iTable is the address of a subroutine that computes the subquery.
11378 int iTable; /* TK_COLUMN: cursor number of table holding column member in struct:Expr
11442 #define EXPR_REDUCEDSIZE offsetof(Expr,iTable) /* Common features */
11937 int iTable; /* Table cursor number */ member in struct:Parse::yColCache
50910 Pgno iTable; /* Root page of table */ member in struct:BtLock
51852 setSharedCacheTableLock(Btree *p, Pgno iTable, u8 eLock) argument
55136 btreeCursor( Btree *p, int iTable, int wrFlag, struct KeyInfo *pKeyInfo, BtCursor *pCur ) argument
55185 sqlite3BtreeCursor( Btree *p, int iTable, int wrFlag, struct KeyInfo *pKeyInfo, BtCursor *pCur ) argument
58983 sqlite3BtreeClearTable(Btree *p, int iTable, int *pnChange) argument
59031 btreeDropTable(Btree *p, Pgno iTable, int *piMoved) argument
59134 sqlite3BtreeDropTable(Btree *p, int iTable, int *piMoved) argument
80598 sqlite3ExprCodeGetColumn( Parse *pParse, Table *pTab, int iColumn, int iTable, int iReg, u8 p5 ) argument
88308 destroyRootPage(Parse *pParse, int iTable, int iDb) argument
101785 setJoinExpr(Expr *p, int iTable) argument
104429 substExpr( sqlite3 *db, Expr *pExpr, int iTable, ExprList *pEList ) argument
104458 substExprList( sqlite3 *db, ExprList *pList, int iTable, ExprList *pEList ) argument
104470 substSelect( sqlite3 *db, Select *p, int iTable, ExprList *pEList ) argument
[all...]
/external/sqlite/dist/
H A Dsqlite3.c8987 int iTable, /* Index of root page */
11251 int iTable; /* Cursor number of the source table */ member in struct:AggInfo::AggInfo_col
11313 ** For such expressions, Expr.op is set to TK_COLUMN and Expr.iTable is
11321 ** character '?' in the original SQL) then the Expr.iTable holds the index
11326 ** subquery gives a constant result, then iTable is -1. If the subquery
11328 ** then iTable is the address of a subroutine that computes the subquery.
11378 int iTable; /* TK_COLUMN: cursor number of table holding column member in struct:Expr
11442 #define EXPR_REDUCEDSIZE offsetof(Expr,iTable) /* Common features */
11937 int iTable; /* Table cursor number */ member in struct:Parse::yColCache
50930 Pgno iTable; /* Root page of table */ member in struct:BtLock
51872 setSharedCacheTableLock(Btree *p, Pgno iTable, u8 eLock) argument
55156 btreeCursor( Btree *p, int iTable, int wrFlag, struct KeyInfo *pKeyInfo, BtCursor *pCur ) argument
55205 sqlite3BtreeCursor( Btree *p, int iTable, int wrFlag, struct KeyInfo *pKeyInfo, BtCursor *pCur ) argument
59003 sqlite3BtreeClearTable(Btree *p, int iTable, int *pnChange) argument
59051 btreeDropTable(Btree *p, Pgno iTable, int *piMoved) argument
59154 sqlite3BtreeDropTable(Btree *p, int iTable, int *piMoved) argument
80618 sqlite3ExprCodeGetColumn( Parse *pParse, Table *pTab, int iColumn, int iTable, int iReg, u8 p5 ) argument
88328 destroyRootPage(Parse *pParse, int iTable, int iDb) argument
101805 setJoinExpr(Expr *p, int iTable) argument
104449 substExpr( sqlite3 *db, Expr *pExpr, int iTable, ExprList *pEList ) argument
104478 substExprList( sqlite3 *db, ExprList *pList, int iTable, ExprList *pEList ) argument
104490 substSelect( sqlite3 *db, Select *p, int iTable, ExprList *pEList ) argument
[all...]

Completed in 474 milliseconds