Lines Matching defs:aw
62815 } aw;
65548 #if 0 /* local variables moved into u.aw */
65557 #endif /* local variables moved into u.aw */
65564 u.aw.nField = 0;
65565 u.aw.pKeyInfo = 0;
65566 u.aw.p2 = pOp->p2;
65567 u.aw.iDb = pOp->p3;
65568 assert( u.aw.iDb>=0 && u.aw.iDb<db->nDb );
65569 assert( (p->btreeMask & (((yDbMask)1)<<u.aw.iDb))!=0 );
65570 u.aw.pDb = &db->aDb[u.aw.iDb];
65571 u.aw.pX = u.aw.pDb->pBt;
65572 assert( u.aw.pX!=0 );
65574 u.aw.wrFlag = 1;
65575 assert( sqlite3SchemaMutexHeld(db, u.aw.iDb, 0) );
65576 if( u.aw.pDb->pSchema->file_format < p->minWriteFileFormat ){
65577 p->minWriteFileFormat = u.aw.pDb->pSchema->file_format;
65580 u.aw.wrFlag = 0;
65583 assert( u.aw.p2>0 );
65584 assert( u.aw.p2<=p->nMem );
65585 pIn2 = &aMem[u.aw.p2];
65589 u.aw.p2 = (int)pIn2->u.i;
65590 /* The u.aw.p2 value always comes from a prior OP_CreateTable opcode and
65591 ** that opcode will always set the u.aw.p2 value to 2 or more or else fail.
65594 if( NEVER(u.aw.p2<2) ) {
65600 u.aw.pKeyInfo = pOp->p4.pKeyInfo;
65601 u.aw.pKeyInfo->enc = ENC(p->db);
65602 u.aw.nField = u.aw.pKeyInfo->nField+1;
65604 u.aw.nField = pOp->p4.i;
65607 u.aw.pCur = allocateCursor(p, pOp->p1, u.aw.nField, u.aw.iDb, 1);
65608 if( u.aw.pCur==0 ) goto no_mem;
65609 u.aw.pCur->nullRow = 1;
65610 u.aw.pCur->isOrdered = 1;
65611 rc = sqlite3BtreeCursor(u.aw.pX, u.aw.p2, u.aw.wrFlag, u.aw.pKeyInfo, u.aw.pCur->pCursor);
65612 u.aw.pCur->pKeyInfo = u.aw.pKeyInfo;
65620 u.aw.pCur->pCursor = 0;
65628 u.aw.pCur->isTable = pOp->p4type!=P4_KEYINFO;
65629 u.aw.pCur->isIndex = !u.aw.pCur->isTable;