Lines Matching refs:bh
52505 } bh;
56131 #if 0 /* local variables moved into u.bh */
56136 #endif /* local variables moved into u.bh */
56142 u.bh.pC = p->apCsr[pOp->p1];
56143 assert( u.bh.pC->isTable || pOp->opcode==OP_RowKey );
56144 assert( u.bh.pC->isIndex || pOp->opcode==OP_RowData );
56145 assert( u.bh.pC!=0 );
56146 assert( u.bh.pC->nullRow==0 );
56147 assert( u.bh.pC->pseudoTableReg==0 );
56148 assert( u.bh.pC->pCursor!=0 );
56149 u.bh.pCrsr = u.bh.pC->pCursor;
56150 assert( sqlite3BtreeCursorIsValid(u.bh.pCrsr) );
56157 assert( u.bh.pC->deferredMoveto==0 );
56158 rc = sqlite3VdbeCursorMoveto(u.bh.pC);
56161 if( u.bh.pC->isIndex ){
56162 assert( !u.bh.pC->isTable );
56163 rc = sqlite3BtreeKeySize(u.bh.pCrsr, &u.bh.n64);
56165 if( u.bh.n64>db->aLimit[SQLITE_LIMIT_LENGTH] ){
56168 u.bh.n = (u32)u.bh.n64;
56170 rc = sqlite3BtreeDataSize(u.bh.pCrsr, &u.bh.n);
56172 if( u.bh.n>(u32)db->aLimit[SQLITE_LIMIT_LENGTH] ){
56176 if( sqlite3VdbeMemGrow(pOut, u.bh.n, 0) ){
56179 pOut->n = u.bh.n;
56181 if( u.bh.pC->isIndex ){
56182 rc = sqlite3BtreeKey(u.bh.pCrsr, 0, u.bh.n, pOut->z);
56184 rc = sqlite3BtreeData(u.bh.pCrsr, 0, u.bh.n, pOut->z);