2006-04-07 15:18:17 +04:00
|
|
|
/* Automatically generated. Do not edit */
|
|
|
|
/* See the mkopcodeh.awk script for details */
|
|
|
|
#define OP_MemLoad 1
|
2007-03-21 23:19:37 +03:00
|
|
|
#define OP_VNext 2
|
|
|
|
#define OP_HexBlob 127 /* same as TK_BLOB */
|
|
|
|
#define OP_Column 3
|
|
|
|
#define OP_SetCookie 4
|
|
|
|
#define OP_IfMemPos 5
|
|
|
|
#define OP_Real 126 /* same as TK_FLOAT */
|
|
|
|
#define OP_Sequence 6
|
|
|
|
#define OP_MoveGt 7
|
|
|
|
#define OP_Ge 73 /* same as TK_GE */
|
|
|
|
#define OP_RowKey 8
|
|
|
|
#define OP_Eq 69 /* same as TK_EQ */
|
|
|
|
#define OP_OpenWrite 9
|
|
|
|
#define OP_NotNull 67 /* same as TK_NOTNULL */
|
|
|
|
#define OP_If 10
|
|
|
|
#define OP_ToInt 142 /* same as TK_TO_INT */
|
|
|
|
#define OP_String8 89 /* same as TK_STRING */
|
|
|
|
#define OP_Pop 11
|
|
|
|
#define OP_VRowid 12
|
|
|
|
#define OP_CollSeq 13
|
|
|
|
#define OP_OpenRead 14
|
|
|
|
#define OP_Expire 15
|
|
|
|
#define OP_AutoCommit 17
|
|
|
|
#define OP_Gt 70 /* same as TK_GT */
|
|
|
|
#define OP_IntegrityCk 18
|
|
|
|
#define OP_Sort 19
|
|
|
|
#define OP_Function 20
|
|
|
|
#define OP_And 62 /* same as TK_AND */
|
|
|
|
#define OP_Subtract 80 /* same as TK_MINUS */
|
|
|
|
#define OP_Noop 21
|
|
|
|
#define OP_Return 22
|
|
|
|
#define OP_Remainder 83 /* same as TK_REM */
|
|
|
|
#define OP_NewRowid 23
|
|
|
|
#define OP_Multiply 81 /* same as TK_STAR */
|
|
|
|
#define OP_IfMemNeg 24
|
|
|
|
#define OP_Variable 25
|
|
|
|
#define OP_String 26
|
|
|
|
#define OP_RealAffinity 27
|
|
|
|
#define OP_ParseSchema 28
|
|
|
|
#define OP_VOpen 29
|
|
|
|
#define OP_Close 30
|
|
|
|
#define OP_CreateIndex 31
|
|
|
|
#define OP_IsUnique 32
|
|
|
|
#define OP_NotFound 33
|
|
|
|
#define OP_Int64 34
|
|
|
|
#define OP_MustBeInt 35
|
|
|
|
#define OP_Halt 36
|
|
|
|
#define OP_Rowid 37
|
|
|
|
#define OP_IdxLT 38
|
|
|
|
#define OP_AddImm 39
|
|
|
|
#define OP_Statement 40
|
|
|
|
#define OP_RowData 41
|
|
|
|
#define OP_MemMax 42
|
|
|
|
#define OP_Push 43
|
|
|
|
#define OP_Or 61 /* same as TK_OR */
|
|
|
|
#define OP_NotExists 44
|
|
|
|
#define OP_MemIncr 45
|
|
|
|
#define OP_Gosub 46
|
|
|
|
#define OP_Divide 82 /* same as TK_SLASH */
|
|
|
|
#define OP_Integer 47
|
|
|
|
#define OP_ToNumeric 141 /* same as TK_TO_NUMERIC*/
|
|
|
|
#define OP_MemInt 48
|
|
|
|
#define OP_Prev 49
|
|
|
|
#define OP_Concat 84 /* same as TK_CONCAT */
|
|
|
|
#define OP_BitAnd 75 /* same as TK_BITAND */
|
|
|
|
#define OP_VColumn 50
|
|
|
|
#define OP_CreateTable 51
|
|
|
|
#define OP_Last 52
|
|
|
|
#define OP_IsNull 66 /* same as TK_ISNULL */
|
|
|
|
#define OP_IdxRowid 53
|
|
|
|
#define OP_MakeIdxRec 54
|
|
|
|
#define OP_ShiftRight 78 /* same as TK_RSHIFT */
|
|
|
|
#define OP_ResetCount 55
|
|
|
|
#define OP_FifoWrite 56
|
|
|
|
#define OP_Callback 57
|
|
|
|
#define OP_ContextPush 58
|
|
|
|
#define OP_DropTrigger 59
|
|
|
|
#define OP_DropIndex 60
|
|
|
|
#define OP_IdxGE 63
|
|
|
|
#define OP_IdxDelete 64
|
|
|
|
#define OP_Vacuum 65
|
|
|
|
#define OP_MoveLe 74
|
|
|
|
#define OP_IfNot 85
|
|
|
|
#define OP_DropTable 87
|
|
|
|
#define OP_MakeRecord 90
|
|
|
|
#define OP_ToBlob 140 /* same as TK_TO_BLOB */
|
|
|
|
#define OP_Delete 91
|
|
|
|
#define OP_AggFinal 92
|
|
|
|
#define OP_ShiftLeft 77 /* same as TK_LSHIFT */
|
|
|
|
#define OP_Dup 93
|
|
|
|
#define OP_Goto 94
|
|
|
|
#define OP_TableLock 95
|
|
|
|
#define OP_FifoRead 96
|
|
|
|
#define OP_Clear 97
|
|
|
|
#define OP_IdxGT 98
|
|
|
|
#define OP_MoveLt 99
|
|
|
|
#define OP_Le 71 /* same as TK_LE */
|
|
|
|
#define OP_VerifyCookie 100
|
|
|
|
#define OP_AggStep 101
|
|
|
|
#define OP_Pull 102
|
|
|
|
#define OP_ToText 139 /* same as TK_TO_TEXT */
|
2006-04-07 15:18:17 +04:00
|
|
|
#define OP_Not 16 /* same as TK_NOT */
|
2007-03-21 23:19:37 +03:00
|
|
|
#define OP_ToReal 143 /* same as TK_TO_REAL */
|
|
|
|
#define OP_SetNumColumns 103
|
|
|
|
#define OP_AbsValue 104
|
|
|
|
#define OP_Transaction 105
|
|
|
|
#define OP_VFilter 106
|
|
|
|
#define OP_Negative 86 /* same as TK_UMINUS */
|
|
|
|
#define OP_Ne 68 /* same as TK_NE */
|
|
|
|
#define OP_VDestroy 107
|
|
|
|
#define OP_ContextPop 108
|
|
|
|
#define OP_BitOr 76 /* same as TK_BITOR */
|
|
|
|
#define OP_Next 109
|
|
|
|
#define OP_IdxInsert 110
|
|
|
|
#define OP_Distinct 111
|
|
|
|
#define OP_Lt 72 /* same as TK_LT */
|
|
|
|
#define OP_Insert 112
|
|
|
|
#define OP_Destroy 113
|
|
|
|
#define OP_ReadCookie 114
|
|
|
|
#define OP_ForceInt 115
|
|
|
|
#define OP_LoadAnalysis 116
|
|
|
|
#define OP_Explain 117
|
|
|
|
#define OP_IfMemZero 118
|
|
|
|
#define OP_OpenPseudo 119
|
|
|
|
#define OP_OpenEphemeral 120
|
|
|
|
#define OP_Null 121
|
|
|
|
#define OP_Blob 122
|
|
|
|
#define OP_Add 79 /* same as TK_PLUS */
|
|
|
|
#define OP_MemStore 123
|
|
|
|
#define OP_Rewind 124
|
|
|
|
#define OP_MoveGe 125
|
|
|
|
#define OP_VBegin 128
|
|
|
|
#define OP_VUpdate 129
|
|
|
|
#define OP_BitNot 88 /* same as TK_BITNOT */
|
|
|
|
#define OP_VCreate 130
|
|
|
|
#define OP_MemMove 131
|
|
|
|
#define OP_MemNull 132
|
|
|
|
#define OP_Found 133
|
|
|
|
#define OP_NullRow 134
|
2006-04-07 15:18:17 +04:00
|
|
|
|
|
|
|
/* The following opcode values are never used */
|
|
|
|
#define OP_NotUsed_135 135
|
|
|
|
#define OP_NotUsed_136 136
|
2007-03-21 23:19:37 +03:00
|
|
|
#define OP_NotUsed_137 137
|
|
|
|
#define OP_NotUsed_138 138
|
2006-04-07 15:18:17 +04:00
|
|
|
|
|
|
|
/* Opcodes that are guaranteed to never push a value onto the stack
|
|
|
|
** contain a 1 their corresponding position of the following mask
|
|
|
|
** set. See the opcodeNoPush() function in vdbeaux.c */
|
2007-03-21 23:19:37 +03:00
|
|
|
#define NOPUSH_MASK_0 0xeeb4
|
|
|
|
#define NOPUSH_MASK_1 0x796b
|
|
|
|
#define NOPUSH_MASK_2 0x7ddb
|
|
|
|
#define NOPUSH_MASK_3 0xff92
|
2006-04-07 15:18:17 +04:00
|
|
|
#define NOPUSH_MASK_4 0xffff
|
2007-03-21 23:19:37 +03:00
|
|
|
#define NOPUSH_MASK_5 0xd9ef
|
|
|
|
#define NOPUSH_MASK_6 0xfefe
|
|
|
|
#define NOPUSH_MASK_7 0x39d9
|
|
|
|
#define NOPUSH_MASK_8 0xf867
|
2006-04-07 15:18:17 +04:00
|
|
|
#define NOPUSH_MASK_9 0x0000
|