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