opcodes.h

Go to the documentation of this file.
00001 /* Automatically generated.  Do not edit */
00002 /* See the mkopcodeh.awk script for details */
00003 #define OP_VNext                                1
00004 #define OP_Affinity                             2
00005 #define OP_Column                               3
00006 #define OP_SetCookie                            4
00007 #define OP_Real                               126   /* same as TK_FLOAT    */
00008 #define OP_Sequence                             5
00009 #define OP_MoveGt                               6
00010 #define OP_Ge                                  72   /* same as TK_GE       */
00011 #define OP_RowKey                               7
00012 #define OP_SCopy                                8
00013 #define OP_Eq                                  68   /* same as TK_EQ       */
00014 #define OP_OpenWrite                            9
00015 #define OP_NotNull                             66   /* same as TK_NOTNULL  */
00016 #define OP_If                                  10
00017 #define OP_ToInt                              142   /* same as TK_TO_INT   */
00018 #define OP_String8                             88   /* same as TK_STRING   */
00019 #define OP_VRowid                              11
00020 #define OP_CollSeq                             12
00021 #define OP_OpenRead                            13
00022 #define OP_Expire                              14
00023 #define OP_AutoCommit                          15
00024 #define OP_Gt                                  69   /* same as TK_GT       */
00025 #define OP_Pagecount                           17
00026 #define OP_IntegrityCk                         18
00027 #define OP_Sort                                19
00028 #define OP_Copy                                20
00029 #define OP_Trace                               21
00030 #define OP_Function                            22
00031 #define OP_IfNeg                               23
00032 #define OP_And                                 61   /* same as TK_AND      */
00033 #define OP_Subtract                            79   /* same as TK_MINUS    */
00034 #define OP_Noop                                24
00035 #define OP_Return                              25
00036 #define OP_Remainder                           82   /* same as TK_REM      */
00037 #define OP_NewRowid                            26
00038 #define OP_Multiply                            80   /* same as TK_STAR     */
00039 #define OP_Variable                            27
00040 #define OP_String                              28
00041 #define OP_RealAffinity                        29
00042 #define OP_VRename                             30
00043 #define OP_ParseSchema                         31
00044 #define OP_VOpen                               32
00045 #define OP_Close                               33
00046 #define OP_CreateIndex                         34
00047 #define OP_IsUnique                            35
00048 #define OP_NotFound                            36
00049 #define OP_Int64                               37
00050 #define OP_MustBeInt                           38
00051 #define OP_Halt                                39
00052 #define OP_Rowid                               40
00053 #define OP_IdxLT                               41
00054 #define OP_AddImm                              42
00055 #define OP_Statement                           43
00056 #define OP_RowData                             44
00057 #define OP_MemMax                              45
00058 #define OP_Or                                  60   /* same as TK_OR       */
00059 #define OP_NotExists                           46
00060 #define OP_Gosub                               47
00061 #define OP_Divide                              81   /* same as TK_SLASH    */
00062 #define OP_Integer                             48
00063 #define OP_ToNumeric                          141   /* same as TK_TO_NUMERIC*/
00064 #define OP_Prev                                49
00065 #define OP_Concat                              83   /* same as TK_CONCAT   */
00066 #define OP_BitAnd                              74   /* same as TK_BITAND   */
00067 #define OP_VColumn                             50
00068 #define OP_CreateTable                         51
00069 #define OP_Last                                52
00070 #define OP_IsNull                              65   /* same as TK_ISNULL   */
00071 #define OP_IncrVacuum                          53
00072 #define OP_IdxRowid                            54
00073 #define OP_ShiftRight                          77   /* same as TK_RSHIFT   */
00074 #define OP_ResetCount                          55
00075 #define OP_FifoWrite                           56
00076 #define OP_ContextPush                         57
00077 #define OP_Yield                               58
00078 #define OP_DropTrigger                         59
00079 #define OP_DropIndex                           62
00080 #define OP_IdxGE                               63
00081 #define OP_IdxDelete                           64
00082 #define OP_Vacuum                              73
00083 #define OP_MoveLe                              84
00084 #define OP_IfNot                               85
00085 #define OP_DropTable                           86
00086 #define OP_MakeRecord                          89
00087 #define OP_ToBlob                             140   /* same as TK_TO_BLOB  */
00088 #define OP_ResultRow                           90
00089 #define OP_Delete                              91
00090 #define OP_AggFinal                            92
00091 #define OP_Compare                             93
00092 #define OP_ShiftLeft                           76   /* same as TK_LSHIFT   */
00093 #define OP_Goto                                94
00094 #define OP_TableLock                           95
00095 #define OP_FifoRead                            96
00096 #define OP_Clear                               97
00097 #define OP_MoveLt                              98
00098 #define OP_Le                                  70   /* same as TK_LE       */
00099 #define OP_VerifyCookie                        99
00100 #define OP_AggStep                            100
00101 #define OP_ToText                             139   /* same as TK_TO_TEXT  */
00102 #define OP_Not                                 16   /* same as TK_NOT      */
00103 #define OP_ToReal                             143   /* same as TK_TO_REAL  */
00104 #define OP_SetNumColumns                      101
00105 #define OP_Transaction                        102
00106 #define OP_VFilter                            103
00107 #define OP_Ne                                  67   /* same as TK_NE       */
00108 #define OP_VDestroy                           104
00109 #define OP_ContextPop                         105
00110 #define OP_BitOr                               75   /* same as TK_BITOR    */
00111 #define OP_Next                               106
00112 #define OP_IdxInsert                          107
00113 #define OP_Lt                                  71   /* same as TK_LT       */
00114 #define OP_Insert                             108
00115 #define OP_Destroy                            109
00116 #define OP_ReadCookie                         110
00117 #define OP_ForceInt                           111
00118 #define OP_LoadAnalysis                       112
00119 #define OP_Explain                            113
00120 #define OP_OpenPseudo                         114
00121 #define OP_OpenEphemeral                      115
00122 #define OP_Null                               116
00123 #define OP_Move                               117
00124 #define OP_Blob                               118
00125 #define OP_Add                                 78   /* same as TK_PLUS     */
00126 #define OP_Rewind                             119
00127 #define OP_MoveGe                             120
00128 #define OP_VBegin                             121
00129 #define OP_VUpdate                            122
00130 #define OP_IfZero                             123
00131 #define OP_BitNot                              87   /* same as TK_BITNOT   */
00132 #define OP_VCreate                            124
00133 #define OP_Found                              125
00134 #define OP_IfPos                              127
00135 #define OP_NullRow                            128
00136 #define OP_Jump                               129
00137 #define OP_Permutation                        130
00138 
00139 /* The following opcode values are never used */
00140 #define OP_NotUsed_131                        131
00141 #define OP_NotUsed_132                        132
00142 #define OP_NotUsed_133                        133
00143 #define OP_NotUsed_134                        134
00144 #define OP_NotUsed_135                        135
00145 #define OP_NotUsed_136                        136
00146 #define OP_NotUsed_137                        137
00147 #define OP_NotUsed_138                        138
00148 
00149 
00150 /* Properties such as "out2" or "jump" that are specified in
00151 ** comments following the "case" for each opcode in the vdbe.c
00152 ** are encoded into bitvectors as follows:
00153 */
00154 #define OPFLG_JUMP            0x0001  /* jump:  P2 holds jmp target */
00155 #define OPFLG_OUT2_PRERELEASE 0x0002  /* out2-prerelease: */
00156 #define OPFLG_IN1             0x0004  /* in1:   P1 is an input */
00157 #define OPFLG_IN2             0x0008  /* in2:   P2 is an input */
00158 #define OPFLG_IN3             0x0010  /* in3:   P3 is an input */
00159 #define OPFLG_OUT3            0x0020  /* out3:  P3 is an output */
00160 #define OPFLG_INITIALIZER {\
00161 /*   0 */ 0x00, 0x01, 0x00, 0x00, 0x10, 0x02, 0x11, 0x00,\
00162 /*   8 */ 0x00, 0x00, 0x05, 0x02, 0x00, 0x00, 0x00, 0x00,\
00163 /*  16 */ 0x04, 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x05,\
00164 /*  24 */ 0x00, 0x04, 0x02, 0x02, 0x02, 0x04, 0x00, 0x00,\
00165 /*  32 */ 0x00, 0x00, 0x02, 0x11, 0x11, 0x02, 0x05, 0x00,\
00166 /*  40 */ 0x02, 0x11, 0x04, 0x00, 0x00, 0x0c, 0x11, 0x01,\
00167 /*  48 */ 0x02, 0x01, 0x00, 0x02, 0x01, 0x01, 0x02, 0x00,\
00168 /*  56 */ 0x04, 0x00, 0x00, 0x00, 0x2c, 0x2c, 0x00, 0x11,\
00169 /*  64 */ 0x00, 0x05, 0x05, 0x15, 0x15, 0x15, 0x15, 0x15,\
00170 /*  72 */ 0x15, 0x00, 0x2c, 0x2c, 0x2c, 0x2c, 0x2c, 0x2c,\
00171 /*  80 */ 0x2c, 0x2c, 0x2c, 0x2c, 0x11, 0x05, 0x00, 0x04,\
00172 /*  88 */ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,\
00173 /*  96 */ 0x01, 0x00, 0x11, 0x00, 0x00, 0x00, 0x00, 0x01,\
00174 /* 104 */ 0x00, 0x00, 0x01, 0x08, 0x00, 0x02, 0x02, 0x05,\
00175 /* 112 */ 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x01,\
00176 /* 120 */ 0x11, 0x00, 0x00, 0x05, 0x00, 0x11, 0x02, 0x05,\
00177 /* 128 */ 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
00178 /* 136 */ 0x00, 0x00, 0x00, 0x04, 0x04, 0x04, 0x04, 0x04,\
00179 }

ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:55 2011 by Doxygen 1.6.1