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