mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Smaller and faster implementation for vdbeFreeOpArray() and freeP4().
FossilOrigin-Name: 0c80593520d30958231be41fc443209eb39e0b3ee0e66308c3ef3a0f4cb8ea66
This commit is contained in:
38
src/vdbe.h
38
src/vdbe.h
@@ -107,24 +107,26 @@ typedef struct VdbeOpList VdbeOpList;
|
||||
/*
|
||||
** Allowed values of VdbeOp.p4type
|
||||
*/
|
||||
#define P4_NOTUSED 0 /* The P4 parameter is not used */
|
||||
#define P4_DYNAMIC (-1) /* Pointer to a string obtained from sqliteMalloc() */
|
||||
#define P4_STATIC (-2) /* Pointer to a static string */
|
||||
#define P4_COLLSEQ (-3) /* P4 is a pointer to a CollSeq structure */
|
||||
#define P4_FUNCDEF (-4) /* P4 is a pointer to a FuncDef structure */
|
||||
#define P4_KEYINFO (-5) /* P4 is a pointer to a KeyInfo structure */
|
||||
#define P4_EXPR (-6) /* P4 is a pointer to an Expr tree */
|
||||
#define P4_MEM (-7) /* P4 is a pointer to a Mem* structure */
|
||||
#define P4_TRANSIENT 0 /* P4 is a pointer to a transient string */
|
||||
#define P4_VTAB (-8) /* P4 is a pointer to an sqlite3_vtab structure */
|
||||
#define P4_REAL (-9) /* P4 is a 64-bit floating point value */
|
||||
#define P4_INT64 (-10) /* P4 is a 64-bit signed integer */
|
||||
#define P4_INT32 (-11) /* P4 is a 32-bit signed integer */
|
||||
#define P4_INTARRAY (-12) /* P4 is a vector of 32-bit integers */
|
||||
#define P4_SUBPROGRAM (-13) /* P4 is a pointer to a SubProgram structure */
|
||||
#define P4_ADVANCE (-14) /* P4 is a pointer to BtreeNext() or BtreePrev() */
|
||||
#define P4_TABLE (-15) /* P4 is a pointer to a Table structure */
|
||||
#define P4_FUNCCTX (-16) /* P4 is a pointer to an sqlite3_context object */
|
||||
#define P4_NOTUSED 0 /* The P4 parameter is not used */
|
||||
#define P4_TRANSIENT 0 /* P4 is a pointer to a transient string */
|
||||
#define P4_STATIC (-1) /* Pointer to a static string */
|
||||
#define P4_COLLSEQ (-2) /* P4 is a pointer to a CollSeq structure */
|
||||
#define P4_INT32 (-3) /* P4 is a 32-bit signed integer */
|
||||
#define P4_SUBPROGRAM (-4) /* P4 is a pointer to a SubProgram structure */
|
||||
#define P4_ADVANCE (-5) /* P4 is a pointer to BtreeNext() or BtreePrev() */
|
||||
#define P4_TABLE (-6) /* P4 is a pointer to a Table structure */
|
||||
/* Above do not own any resources. Must free those below */
|
||||
#define P4_FREE_IF_LE (-7)
|
||||
#define P4_DYNAMIC (-7) /* Pointer to memory from sqliteMalloc() */
|
||||
#define P4_FUNCDEF (-8) /* P4 is a pointer to a FuncDef structure */
|
||||
#define P4_KEYINFO (-9) /* P4 is a pointer to a KeyInfo structure */
|
||||
#define P4_EXPR (-10) /* P4 is a pointer to an Expr tree */
|
||||
#define P4_MEM (-11) /* P4 is a pointer to a Mem* structure */
|
||||
#define P4_VTAB (-12) /* P4 is a pointer to an sqlite3_vtab structure */
|
||||
#define P4_REAL (-13) /* P4 is a 64-bit floating point value */
|
||||
#define P4_INT64 (-14) /* P4 is a 64-bit signed integer */
|
||||
#define P4_INTARRAY (-15) /* P4 is a vector of 32-bit integers */
|
||||
#define P4_FUNCCTX (-16) /* P4 is a pointer to an sqlite3_context object */
|
||||
|
||||
/* Error message codes for OP_Halt */
|
||||
#define P5_ConstraintNotNull 1
|
||||
|
Reference in New Issue
Block a user