|
1 /* Automatically generated. Do not edit */ |
|
2 /* See the mkopcodeh.awk script for details */ |
|
3 #define OP_ReadCookie 1 |
|
4 #define OP_AutoCommit 2 |
|
5 #define OP_Found 3 |
|
6 #define OP_NullRow 4 |
|
7 #define OP_Lt 71 /* same as TK_LT */ |
|
8 #define OP_MoveLe 5 |
|
9 #define OP_Variable 6 |
|
10 #define OP_RealAffinity 7 |
|
11 #define OP_Sort 8 |
|
12 #define OP_Affinity 9 |
|
13 #define OP_IfNot 10 |
|
14 #define OP_Gosub 11 |
|
15 #define OP_Add 78 /* same as TK_PLUS */ |
|
16 #define OP_NotFound 12 |
|
17 #define OP_ResultRow 13 |
|
18 #define OP_IsNull 65 /* same as TK_ISNULL */ |
|
19 #define OP_MoveLt 14 |
|
20 #define OP_Rowid 15 |
|
21 #define OP_CreateIndex 17 |
|
22 #define OP_Explain 18 |
|
23 #define OP_Statement 19 |
|
24 #define OP_DropIndex 20 |
|
25 #define OP_Null 21 |
|
26 #define OP_ToInt 141 /* same as TK_TO_INT */ |
|
27 #define OP_Int64 22 |
|
28 #define OP_LoadAnalysis 23 |
|
29 #define OP_IdxInsert 24 |
|
30 #define OP_VUpdate 25 |
|
31 #define OP_Next 26 |
|
32 #define OP_SetNumColumns 27 |
|
33 #define OP_ToNumeric 140 /* same as TK_TO_NUMERIC*/ |
|
34 #define OP_Ge 72 /* same as TK_GE */ |
|
35 #define OP_BitNot 87 /* same as TK_BITNOT */ |
|
36 #define OP_Rewind 28 |
|
37 #define OP_Multiply 80 /* same as TK_STAR */ |
|
38 #define OP_ToReal 142 /* same as TK_TO_REAL */ |
|
39 #define OP_Gt 69 /* same as TK_GT */ |
|
40 #define OP_Last 29 |
|
41 #define OP_MustBeInt 30 |
|
42 #define OP_Ne 67 /* same as TK_NE */ |
|
43 #define OP_MoveGe 31 |
|
44 #define OP_IncrVacuum 32 |
|
45 #define OP_String 33 |
|
46 #define OP_VFilter 34 |
|
47 #define OP_ForceInt 35 |
|
48 #define OP_Close 36 |
|
49 #define OP_AggFinal 37 |
|
50 #define OP_RowData 38 |
|
51 #define OP_IdxRowid 39 |
|
52 #define OP_Pagecount 40 |
|
53 #define OP_BitOr 75 /* same as TK_BITOR */ |
|
54 #define OP_NotNull 66 /* same as TK_NOTNULL */ |
|
55 #define OP_MoveGt 41 |
|
56 #define OP_Not 16 /* same as TK_NOT */ |
|
57 #define OP_OpenPseudo 42 |
|
58 #define OP_Halt 43 |
|
59 #define OP_Compare 44 |
|
60 #define OP_NewRowid 45 |
|
61 #define OP_Real 125 /* same as TK_FLOAT */ |
|
62 #define OP_IdxLT 46 |
|
63 #define OP_MemMax 47 |
|
64 #define OP_Function 48 |
|
65 #define OP_IntegrityCk 49 |
|
66 #define OP_Remainder 82 /* same as TK_REM */ |
|
67 #define OP_SCopy 50 |
|
68 #define OP_ShiftLeft 76 /* same as TK_LSHIFT */ |
|
69 #define OP_IfNeg 51 |
|
70 #define OP_FifoWrite 52 |
|
71 #define OP_BitAnd 74 /* same as TK_BITAND */ |
|
72 #define OP_Or 60 /* same as TK_OR */ |
|
73 #define OP_NotExists 53 |
|
74 #define OP_VDestroy 54 |
|
75 #define OP_IdxDelete 55 |
|
76 #define OP_Vacuum 56 |
|
77 #define OP_Copy 57 |
|
78 #define OP_If 58 |
|
79 #define OP_Jump 59 |
|
80 #define OP_Destroy 62 |
|
81 #define OP_AggStep 63 |
|
82 #define OP_Insert 64 |
|
83 #define OP_Clear 73 |
|
84 #define OP_Permutation 84 |
|
85 #define OP_VBegin 85 |
|
86 #define OP_OpenEphemeral 86 |
|
87 #define OP_IdxGE 89 |
|
88 #define OP_Trace 90 |
|
89 #define OP_Divide 81 /* same as TK_SLASH */ |
|
90 #define OP_String8 88 /* same as TK_STRING */ |
|
91 #define OP_Concat 83 /* same as TK_CONCAT */ |
|
92 #define OP_VRowid 91 |
|
93 #define OP_MakeRecord 92 |
|
94 #define OP_Yield 93 |
|
95 #define OP_SetCookie 94 |
|
96 #define OP_Prev 95 |
|
97 #define OP_ContextPush 96 |
|
98 #define OP_DropTrigger 97 |
|
99 #define OP_And 61 /* same as TK_AND */ |
|
100 #define OP_VColumn 98 |
|
101 #define OP_Return 99 |
|
102 #define OP_OpenWrite 100 |
|
103 #define OP_Integer 101 |
|
104 #define OP_Transaction 102 |
|
105 #define OP_IfPos 103 |
|
106 #define OP_CollSeq 104 |
|
107 #define OP_VRename 105 |
|
108 #define OP_ToBlob 139 /* same as TK_TO_BLOB */ |
|
109 #define OP_Sequence 106 |
|
110 #define OP_ContextPop 107 |
|
111 #define OP_ShiftRight 77 /* same as TK_RSHIFT */ |
|
112 #define OP_VCreate 108 |
|
113 #define OP_CreateTable 109 |
|
114 #define OP_AddImm 110 |
|
115 #define OP_ToText 138 /* same as TK_TO_TEXT */ |
|
116 #define OP_DropTable 111 |
|
117 #define OP_IsUnique 112 |
|
118 #define OP_VOpen 113 |
|
119 #define OP_IfZero 114 |
|
120 #define OP_Noop 115 |
|
121 #define OP_RowKey 116 |
|
122 #define OP_Expire 117 |
|
123 #define OP_FifoRead 118 |
|
124 #define OP_Delete 119 |
|
125 #define OP_Subtract 79 /* same as TK_MINUS */ |
|
126 #define OP_Blob 120 |
|
127 #define OP_Move 121 |
|
128 #define OP_Goto 122 |
|
129 #define OP_ParseSchema 123 |
|
130 #define OP_Eq 68 /* same as TK_EQ */ |
|
131 #define OP_VNext 124 |
|
132 #define OP_Le 70 /* same as TK_LE */ |
|
133 #define OP_TableLock 126 |
|
134 #define OP_VerifyCookie 127 |
|
135 #define OP_Column 128 |
|
136 #define OP_OpenRead 129 |
|
137 #define OP_ResetCount 130 |
|
138 |
|
139 /* The following opcode values are never used */ |
|
140 #define OP_NotUsed_131 131 |
|
141 #define OP_NotUsed_132 132 |
|
142 #define OP_NotUsed_133 133 |
|
143 #define OP_NotUsed_134 134 |
|
144 #define OP_NotUsed_135 135 |
|
145 #define OP_NotUsed_136 136 |
|
146 #define OP_NotUsed_137 137 |
|
147 |
|
148 |
|
149 /* Properties such as "out2" or "jump" that are specified in |
|
150 ** comments following the "case" for each opcode in the vdbe.c |
|
151 ** are encoded into bitvectors as follows: |
|
152 */ |
|
153 #define OPFLG_JUMP 0x0001 /* jump: P2 holds jmp target */ |
|
154 #define OPFLG_OUT2_PRERELEASE 0x0002 /* out2-prerelease: */ |
|
155 #define OPFLG_IN1 0x0004 /* in1: P1 is an input */ |
|
156 #define OPFLG_IN2 0x0008 /* in2: P2 is an input */ |
|
157 #define OPFLG_IN3 0x0010 /* in3: P3 is an input */ |
|
158 #define OPFLG_OUT3 0x0020 /* out3: P3 is an output */ |
|
159 #define OPFLG_INITIALIZER {\ |
|
160 /* 0 */ 0x00, 0x02, 0x00, 0x11, 0x00, 0x11, 0x02, 0x04,\ |
|
161 /* 8 */ 0x01, 0x00, 0x05, 0x01, 0x11, 0x00, 0x11, 0x02,\ |
|
162 /* 16 */ 0x04, 0x02, 0x00, 0x00, 0x00, 0x02, 0x02, 0x00,\ |
|
163 /* 24 */ 0x08, 0x00, 0x01, 0x00, 0x01, 0x01, 0x05, 0x11,\ |
|
164 /* 32 */ 0x01, 0x02, 0x01, 0x05, 0x00, 0x00, 0x00, 0x02,\ |
|
165 /* 40 */ 0x02, 0x11, 0x00, 0x00, 0x00, 0x02, 0x11, 0x0c,\ |
|
166 /* 48 */ 0x00, 0x00, 0x00, 0x05, 0x04, 0x11, 0x00, 0x00,\ |
|
167 /* 56 */ 0x00, 0x00, 0x05, 0x01, 0x2c, 0x2c, 0x02, 0x00,\ |
|
168 /* 64 */ 0x00, 0x05, 0x05, 0x15, 0x15, 0x15, 0x15, 0x15,\ |
|
169 /* 72 */ 0x15, 0x00, 0x2c, 0x2c, 0x2c, 0x2c, 0x2c, 0x2c,\ |
|
170 /* 80 */ 0x2c, 0x2c, 0x2c, 0x2c, 0x00, 0x00, 0x00, 0x04,\ |
|
171 /* 88 */ 0x02, 0x11, 0x00, 0x02, 0x00, 0x00, 0x10, 0x01,\ |
|
172 /* 96 */ 0x00, 0x00, 0x00, 0x04, 0x00, 0x02, 0x00, 0x05,\ |
|
173 /* 104 */ 0x00, 0x00, 0x02, 0x00, 0x00, 0x02, 0x04, 0x00,\ |
|
174 /* 112 */ 0x11, 0x00, 0x05, 0x00, 0x00, 0x00, 0x01, 0x00,\ |
|
175 /* 120 */ 0x02, 0x00, 0x01, 0x00, 0x01, 0x02, 0x00, 0x00,\ |
|
176 /* 128 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\ |
|
177 /* 136 */ 0x00, 0x00, 0x04, 0x04, 0x04, 0x04, 0x04,} |