• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/sqlite/

Lines Matching +defs:tnum +defs:diff

9050 ** Table.tnum is the page number for the root BTree page of the table in the
9055 ** when the VDBE cursor to the table is closed. In this case Table.tnum
9067 int tnum; /* Root BTree node for this table (see note above) */
9268 int tnum; /* Page containing root of this index in database file */
44690 if( pIdx->tnum==(int)iRoot ){
44691 iTab = pIdx->pTable->tnum;
65662 sqlite3VdbeChangeP2(v, 2, pTab->tnum);
65668 ** parameter of the other to pTab->tnum. */
65670 sqlite3VdbeChangeP2(v, 3 + flags, pTab->tnum);
69145 sqlite3TableLock(pParse, iDb, pTab->tnum, 0, pTab->zName);
69191 sqlite3VdbeAddOp4(v, OP_OpenRead, iTab, pIdx->tnum, iDb,
72368 aRoot[i] = pStat->tnum;
72440 sqlite3TableLock(pParse, iDb, pTab->tnum, 0, pTab->zName);
72453 sqlite3VdbeAddOp4(v, OP_OpenRead, iIdxCur, pIdx->tnum, iDb,
75198 p->tnum = db->init.newTnum;
75571 if( pTab->tnum==iFrom ){
75572 pTab->tnum = iTo;
75578 if( pIdx->tnum==iFrom ){
75579 pIdx->tnum = iTo;
75623 destroyRootPage(pParse, pTab->tnum, iDb);
75625 destroyRootPage(pParse, pIdx->tnum, iDb);
75644 int iTab = pTab->tnum;
75655 int iIdx = pIdx->tnum;
75992 ** the root page number of the index is taken from pIndex->tnum.
75999 int tnum; /* Root page of index */
76015 sqlite3TableLock(pParse, iDb, pTab->tnum, 1, pTab->zName);
76020 tnum = memRootPage;
76022 tnum = pIndex->tnum;
76023 sqlite3VdbeAddOp2(v, OP_Clear, tnum, iDb);
76026 sqlite3VdbeAddOp4(v, OP_OpenWrite, iIdx, tnum, iDb,
76435 pIndex->tnum = db->init.newTnum;
76642 destroyRootPage(pParse, pIndex->tnum, iDb);
78221 sqlite3VdbeAddOp4(v, OP_Clear, pTab->tnum, iDb, memCnt,
78225 sqlite3VdbeAddOp2(v, OP_Clear, pIdx->tnum, iDb);
78285 sqlite3VdbeAddOp2(v, OP_Close, iCur + i, pIdx->tnum);
80486 sqlite3VdbeAddOp3(v, OP_OpenRead, iCur, pIdx->tnum, iDb);
80864 sqlite3TableLock(pParse, iDb, pTo->tnum, 0, pTo->zName);
81329 sqlite3TableLock(p, iDb, pTab->tnum, (opcode==OP_OpenWrite)?1:0, pTab->zName);
81330 sqlite3VdbeAddOp3(v, opcode, iCur, pTab->tnum, iDb);
81447 int tnum = pOp->p2;
81448 if( tnum==pTab->tnum ){
81452 if( tnum==pIndex->tnum ){
82800 sqlite3VdbeAddOp4(v, op, i+baseCur, pIdx->tnum, iDb,
83101 sqlite3VdbeAddOp4(v, OP_OpenRead, iSrc, pSrcIdx->tnum, iDbSrc,
83105 sqlite3VdbeAddOp4(v, OP_OpenWrite, iDest, pDestIdx->tnum, iDbDest,
85390 sqlite3VdbeAddOp2(v, OP_Integer, pTab->tnum, 2+cnt);
85393 sqlite3VdbeAddOp2(v, OP_Integer, pIdx->tnum, 2+cnt);
85899 }else if( sqlite3GetInt32(argv[1], &pIndex->tnum)==0 ){
90723 int iRoot = pTab->tnum; /* Root page of scanned b-tree */
90726 sqlite3TableLock(pParse, iDb, pTab->tnum, 0, pTab->zName);
90745 iRoot = pBest->tnum;
92608 sqlite3VdbeAddOp4(v, OP_OpenWrite, iCur+i+1, pIdx->tnum, iDb,
98515 sqlite3TableLock(pParse, iDb, pTab->tnum, 0, pTab->zName);
98528 sqlite3VdbeAddOp4(v, OP_OpenRead, iIdxCur, pIx->tnum, iDb,
117537 float diff = FABS(right-left);
117538 if( iSelect<0 || diff>fDiff ){
117539 fDiff = diff;
117862 float diff =
117867 || (diff>0.0 && (RTREE_MINCELLS(pRtree)-NCELL(pLeft)!=i))