Lines Matching defs:Parse

8662 typedef struct Parse Parse;  typedef
11688 struct Parse { struct
11689 sqlite3 *db; /* The main database structure */
11690 char *zErrMsg; /* An error message */
11691 Vdbe *pVdbe; /* An engine for executing database bytecode */
11692 int rc; /* Return code from execution */
11693 u8 colNamesSet; /* TRUE after OP_ColumnName has been issued to pVdbe */
11694 u8 checkSchema; /* Causes schema cookie check after an error */
11695 u8 nested; /* Number of nested calls to the parser/code generator */
11696 u8 nTempReg; /* Number of temporary registers in aTempReg[] */
11697 u8 nTempInUse; /* Number of aTempReg[] currently checked out */
11698 u8 nColCache; /* Number of entries in aColCache[] */
11699 u8 iColCache; /* Next entry in aColCache[] to replace */
11700 u8 isMultiWrite; /* True if statement may modify/insert multiple rows */
11701 u8 mayAbort; /* True if statement may throw an ABORT exception */
11702 u8 hasCompound; /* Need to invoke convertCompoundSelectToSubquery() */
11703 int aTempReg[8]; /* Holding area for temporary registers */
11704 int nRangeReg; /* Size of the temporary register block */
11705 int iRangeReg; /* First register in temporary register block */
11706 int nErr; /* Number of errors seen */
11707 int nTab; /* Number of previously allocated VDBE cursors */
11708 int nMem; /* Number of memory cells used so far */
11709 int nSet; /* Number of sets used so far */
11710 int nOnce; /* Number of OP_Once instructions so far */
11711 int nOpAlloc; /* Number of slots allocated for Vdbe.aOp[] */
11712 int nLabel; /* Number of labels used */
11713 int *aLabel; /* Space to hold the labels */
11714 int iFixedOp; /* Never back out opcodes iFixedOp-1 or earlier */
11715 int ckBase; /* Base register of data during check constraints */
11716 int iPartIdxTab; /* Table corresponding to a partial index */
11717 int iCacheLevel; /* ColCache valid when aColCache[].iLevel<=iCacheLevel */
11718 int iCacheCnt; /* Counter used to generate aColCache[].lru values */
11719 struct yColCache {
11743 Parse *pToplevel; /* Parse structure for main program (or NULL) */ argument
11744 Table *pTriggerTab; /* Table triggers are being coded for */
11745 int addrCrTab; /* Address of OP_CreateTable opcode on CREATE TABLE */
11746 int addrSkipPK; /* Address of instruction to skip PRIMARY KEY index */
11747 u32 nQueryLoop; /* Est number of iterations of a query (10*log2(N)) */
11748 u32 oldmask; /* Mask of old.* columns referenced */
11749 u32 newmask; /* Mask of new.* columns referenced */
11750 u8 eTriggerOp; /* TK_UPDATE, TK_INSERT or TK_DELETE */
11751 u8 eOrconf; /* Default ON CONFLICT policy for trigger steps */
11752 u8 disableTriggers; /* True to disable triggers */
11757 int nVar; /* Number of '?' variables seen in the SQL so far */
11758 int nzVar; /* Number of available slots in azVar[] */
11759 u8 iPkSortOrder; /* ASC or DESC for INTEGER PRIMARY KEY */
11760 u8 explain; /* True if the EXPLAIN flag is found on the query */
11762 u8 declareVtab; /* True if inside sqlite3_declare_vtab() */
11763 int nVtabLock; /* Number of virtual tables to lock */
11765 int nAlias; /* Number of aliased result set columns */
11766 int nHeight; /* Expression tree height of current sub-select */
11768 int iSelectId; /* ID of current select for EXPLAIN output */
11769 int iNextSelectId; /* Next available select ID for EXPLAIN output */
11771 char **azVar; /* Pointers to names of parameters */
11795 #define IN_DECLARE_VTAB (pParse->declareVtab) argument
11800 ** to save the Parse.zAuthContext value so that it can be restored later. argument