OLD | NEW |
1 /* | 1 /* |
2 ** 2001 September 15 | 2 ** 2001 September 15 |
3 ** | 3 ** |
4 ** The author disclaims copyright to this source code. In place of | 4 ** The author disclaims copyright to this source code. In place of |
5 ** a legal notice, here is a blessing: | 5 ** a legal notice, here is a blessing: |
6 ** | 6 ** |
7 ** May you do good and not evil. | 7 ** May you do good and not evil. |
8 ** May you find forgiveness for yourself and forgive others. | 8 ** May you find forgiveness for yourself and forgive others. |
9 ** May you share freely, never taking more than you give. | 9 ** May you share freely, never taking more than you give. |
10 ** | 10 ** |
11 ************************************************************************* | 11 ************************************************************************* |
12 ** Header file for the Virtual DataBase Engine (VDBE) | 12 ** Header file for the Virtual DataBase Engine (VDBE) |
13 ** | 13 ** |
14 ** This header defines the interface to the virtual database engine | 14 ** This header defines the interface to the virtual database engine |
15 ** or VDBE. The VDBE implements an abstract machine that runs a | 15 ** or VDBE. The VDBE implements an abstract machine that runs a |
16 ** simple program to access and modify the underlying database. | 16 ** simple program to access and modify the underlying database. |
17 */ | 17 */ |
18 #ifndef _SQLITE_VDBE_H_ | 18 #ifndef SQLITE_VDBE_H |
19 #define _SQLITE_VDBE_H_ | 19 #define SQLITE_VDBE_H |
20 #include <stdio.h> | 20 #include <stdio.h> |
21 | 21 |
22 /* | 22 /* |
23 ** A single VDBE is an opaque structure named "Vdbe". Only routines | 23 ** A single VDBE is an opaque structure named "Vdbe". Only routines |
24 ** in the source file sqliteVdbe.c are allowed to see the insides | 24 ** in the source file sqliteVdbe.c are allowed to see the insides |
25 ** of this structure. | 25 ** of this structure. |
26 */ | 26 */ |
27 typedef struct Vdbe Vdbe; | 27 typedef struct Vdbe Vdbe; |
28 | 28 |
29 /* | 29 /* |
30 ** The names of the following types declared in vdbeInt.h are required | 30 ** The names of the following types declared in vdbeInt.h are required |
31 ** for the VdbeOp definition. | 31 ** for the VdbeOp definition. |
32 */ | 32 */ |
33 typedef struct Mem Mem; | 33 typedef struct Mem Mem; |
34 typedef struct SubProgram SubProgram; | 34 typedef struct SubProgram SubProgram; |
35 | 35 |
36 /* | 36 /* |
37 ** A single instruction of the virtual machine has an opcode | 37 ** A single instruction of the virtual machine has an opcode |
38 ** and as many as three operands. The instruction is recorded | 38 ** and as many as three operands. The instruction is recorded |
39 ** as an instance of the following structure: | 39 ** as an instance of the following structure: |
40 */ | 40 */ |
41 struct VdbeOp { | 41 struct VdbeOp { |
42 u8 opcode; /* What operation to perform */ | 42 u8 opcode; /* What operation to perform */ |
43 signed char p4type; /* One of the P4_xxx constants for p4 */ | 43 signed char p4type; /* One of the P4_xxx constants for p4 */ |
44 u8 opflags; /* Mask of the OPFLG_* flags in opcodes.h */ | 44 u16 p5; /* Fifth parameter is an unsigned 16-bit integer */ |
45 u8 p5; /* Fifth parameter is an unsigned character */ | |
46 int p1; /* First operand */ | 45 int p1; /* First operand */ |
47 int p2; /* Second parameter (often the jump destination) */ | 46 int p2; /* Second parameter (often the jump destination) */ |
48 int p3; /* The third parameter */ | 47 int p3; /* The third parameter */ |
49 union p4union { /* fourth parameter */ | 48 union p4union { /* fourth parameter */ |
50 int i; /* Integer value if p4type==P4_INT32 */ | 49 int i; /* Integer value if p4type==P4_INT32 */ |
51 void *p; /* Generic pointer */ | 50 void *p; /* Generic pointer */ |
52 char *z; /* Pointer to data for string (char array) types */ | 51 char *z; /* Pointer to data for string (char array) types */ |
53 i64 *pI64; /* Used when p4type is P4_INT64 */ | 52 i64 *pI64; /* Used when p4type is P4_INT64 */ |
54 double *pReal; /* Used when p4type is P4_REAL */ | 53 double *pReal; /* Used when p4type is P4_REAL */ |
55 FuncDef *pFunc; /* Used when p4type is P4_FUNCDEF */ | 54 FuncDef *pFunc; /* Used when p4type is P4_FUNCDEF */ |
56 sqlite3_context *pCtx; /* Used when p4type is P4_FUNCCTX */ | 55 sqlite3_context *pCtx; /* Used when p4type is P4_FUNCCTX */ |
57 CollSeq *pColl; /* Used when p4type is P4_COLLSEQ */ | 56 CollSeq *pColl; /* Used when p4type is P4_COLLSEQ */ |
58 Mem *pMem; /* Used when p4type is P4_MEM */ | 57 Mem *pMem; /* Used when p4type is P4_MEM */ |
59 VTable *pVtab; /* Used when p4type is P4_VTAB */ | 58 VTable *pVtab; /* Used when p4type is P4_VTAB */ |
60 KeyInfo *pKeyInfo; /* Used when p4type is P4_KEYINFO */ | 59 KeyInfo *pKeyInfo; /* Used when p4type is P4_KEYINFO */ |
61 int *ai; /* Used when p4type is P4_INTARRAY */ | 60 int *ai; /* Used when p4type is P4_INTARRAY */ |
62 SubProgram *pProgram; /* Used when p4type is P4_SUBPROGRAM */ | 61 SubProgram *pProgram; /* Used when p4type is P4_SUBPROGRAM */ |
| 62 Table *pTab; /* Used when p4type is P4_TABLE */ |
63 #ifdef SQLITE_ENABLE_CURSOR_HINTS | 63 #ifdef SQLITE_ENABLE_CURSOR_HINTS |
64 Expr *pExpr; /* Used when p4type is P4_EXPR */ | 64 Expr *pExpr; /* Used when p4type is P4_EXPR */ |
65 #endif | 65 #endif |
66 int (*xAdvance)(BtCursor *, int *); | 66 int (*xAdvance)(BtCursor *, int *); |
67 } p4; | 67 } p4; |
68 #ifdef SQLITE_ENABLE_EXPLAIN_COMMENTS | 68 #ifdef SQLITE_ENABLE_EXPLAIN_COMMENTS |
69 char *zComment; /* Comment to improve readability */ | 69 char *zComment; /* Comment to improve readability */ |
70 #endif | 70 #endif |
71 #ifdef VDBE_PROFILE | 71 #ifdef VDBE_PROFILE |
72 u32 cnt; /* Number of times this instruction was executed */ | 72 u32 cnt; /* Number of times this instruction was executed */ |
73 u64 cycles; /* Total time spent executing this instruction */ | 73 u64 cycles; /* Total time spent executing this instruction */ |
74 #endif | 74 #endif |
75 #ifdef SQLITE_VDBE_COVERAGE | 75 #ifdef SQLITE_VDBE_COVERAGE |
76 int iSrcLine; /* Source-code line that generated this opcode */ | 76 int iSrcLine; /* Source-code line that generated this opcode */ |
77 #endif | 77 #endif |
78 }; | 78 }; |
79 typedef struct VdbeOp VdbeOp; | 79 typedef struct VdbeOp VdbeOp; |
80 | 80 |
81 | 81 |
82 /* | 82 /* |
83 ** A sub-routine used to implement a trigger program. | 83 ** A sub-routine used to implement a trigger program. |
84 */ | 84 */ |
85 struct SubProgram { | 85 struct SubProgram { |
86 VdbeOp *aOp; /* Array of opcodes for sub-program */ | 86 VdbeOp *aOp; /* Array of opcodes for sub-program */ |
87 int nOp; /* Elements in aOp[] */ | 87 int nOp; /* Elements in aOp[] */ |
88 int nMem; /* Number of memory cells required */ | 88 int nMem; /* Number of memory cells required */ |
89 int nCsr; /* Number of cursors required */ | 89 int nCsr; /* Number of cursors required */ |
90 int nOnce; /* Number of OP_Once instructions */ | |
91 void *token; /* id that may be used to recursive triggers */ | 90 void *token; /* id that may be used to recursive triggers */ |
92 SubProgram *pNext; /* Next sub-program already visited */ | 91 SubProgram *pNext; /* Next sub-program already visited */ |
93 }; | 92 }; |
94 | 93 |
95 /* | 94 /* |
96 ** A smaller version of VdbeOp used for the VdbeAddOpList() function because | 95 ** A smaller version of VdbeOp used for the VdbeAddOpList() function because |
97 ** it takes up less space. | 96 ** it takes up less space. |
98 */ | 97 */ |
99 struct VdbeOpList { | 98 struct VdbeOpList { |
100 u8 opcode; /* What operation to perform */ | 99 u8 opcode; /* What operation to perform */ |
101 signed char p1; /* First operand */ | 100 signed char p1; /* First operand */ |
102 signed char p2; /* Second parameter (often the jump destination) */ | 101 signed char p2; /* Second parameter (often the jump destination) */ |
103 signed char p3; /* Third parameter */ | 102 signed char p3; /* Third parameter */ |
104 }; | 103 }; |
105 typedef struct VdbeOpList VdbeOpList; | 104 typedef struct VdbeOpList VdbeOpList; |
106 | 105 |
107 /* | 106 /* |
108 ** Allowed values of VdbeOp.p4type | 107 ** Allowed values of VdbeOp.p4type |
109 */ | 108 */ |
110 #define P4_NOTUSED 0 /* The P4 parameter is not used */ | 109 #define P4_NOTUSED 0 /* The P4 parameter is not used */ |
111 #define P4_DYNAMIC (-1) /* Pointer to a string obtained from sqliteMalloc() */ | 110 #define P4_DYNAMIC (-1) /* Pointer to a string obtained from sqliteMalloc() */ |
112 #define P4_STATIC (-2) /* Pointer to a static string */ | 111 #define P4_STATIC (-2) /* Pointer to a static string */ |
113 #define P4_COLLSEQ (-4) /* P4 is a pointer to a CollSeq structure */ | 112 #define P4_COLLSEQ (-3) /* P4 is a pointer to a CollSeq structure */ |
114 #define P4_FUNCDEF (-5) /* P4 is a pointer to a FuncDef structure */ | 113 #define P4_FUNCDEF (-4) /* P4 is a pointer to a FuncDef structure */ |
115 #define P4_KEYINFO (-6) /* P4 is a pointer to a KeyInfo structure */ | 114 #define P4_KEYINFO (-5) /* P4 is a pointer to a KeyInfo structure */ |
116 #define P4_EXPR (-7) /* P4 is a pointer to an Expr tree */ | 115 #define P4_EXPR (-6) /* P4 is a pointer to an Expr tree */ |
117 #define P4_MEM (-8) /* P4 is a pointer to a Mem* structure */ | 116 #define P4_MEM (-7) /* P4 is a pointer to a Mem* structure */ |
118 #define P4_TRANSIENT 0 /* P4 is a pointer to a transient string */ | 117 #define P4_TRANSIENT 0 /* P4 is a pointer to a transient string */ |
119 #define P4_VTAB (-10) /* P4 is a pointer to an sqlite3_vtab structure */ | 118 #define P4_VTAB (-8) /* P4 is a pointer to an sqlite3_vtab structure */ |
120 #define P4_MPRINTF (-11) /* P4 is a string obtained from sqlite3_mprintf() */ | 119 #define P4_REAL (-9) /* P4 is a 64-bit floating point value */ |
121 #define P4_REAL (-12) /* P4 is a 64-bit floating point value */ | 120 #define P4_INT64 (-10) /* P4 is a 64-bit signed integer */ |
122 #define P4_INT64 (-13) /* P4 is a 64-bit signed integer */ | 121 #define P4_INT32 (-11) /* P4 is a 32-bit signed integer */ |
123 #define P4_INT32 (-14) /* P4 is a 32-bit signed integer */ | 122 #define P4_INTARRAY (-12) /* P4 is a vector of 32-bit integers */ |
124 #define P4_INTARRAY (-15) /* P4 is a vector of 32-bit integers */ | 123 #define P4_SUBPROGRAM (-13) /* P4 is a pointer to a SubProgram structure */ |
125 #define P4_SUBPROGRAM (-18) /* P4 is a pointer to a SubProgram structure */ | 124 #define P4_ADVANCE (-14) /* P4 is a pointer to BtreeNext() or BtreePrev() */ |
126 #define P4_ADVANCE (-19) /* P4 is a pointer to BtreeNext() or BtreePrev() */ | 125 #define P4_TABLE (-15) /* P4 is a pointer to a Table structure */ |
127 #define P4_FUNCCTX (-20) /* P4 is a pointer to an sqlite3_context object */ | 126 #define P4_FUNCCTX (-16) /* P4 is a pointer to an sqlite3_context object */ |
128 | 127 |
129 /* Error message codes for OP_Halt */ | 128 /* Error message codes for OP_Halt */ |
130 #define P5_ConstraintNotNull 1 | 129 #define P5_ConstraintNotNull 1 |
131 #define P5_ConstraintUnique 2 | 130 #define P5_ConstraintUnique 2 |
132 #define P5_ConstraintCheck 3 | 131 #define P5_ConstraintCheck 3 |
133 #define P5_ConstraintFK 4 | 132 #define P5_ConstraintFK 4 |
134 | 133 |
135 /* | 134 /* |
136 ** The Vdbe.aColName array contains 5n Mem structures, where n is the | 135 ** The Vdbe.aColName array contains 5n Mem structures, where n is the |
137 ** number of columns of data returned by the statement. | 136 ** number of columns of data returned by the statement. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 int sqlite3VdbeAddOp0(Vdbe*,int); | 172 int sqlite3VdbeAddOp0(Vdbe*,int); |
174 int sqlite3VdbeAddOp1(Vdbe*,int,int); | 173 int sqlite3VdbeAddOp1(Vdbe*,int,int); |
175 int sqlite3VdbeAddOp2(Vdbe*,int,int,int); | 174 int sqlite3VdbeAddOp2(Vdbe*,int,int,int); |
176 int sqlite3VdbeGoto(Vdbe*,int); | 175 int sqlite3VdbeGoto(Vdbe*,int); |
177 int sqlite3VdbeLoadString(Vdbe*,int,const char*); | 176 int sqlite3VdbeLoadString(Vdbe*,int,const char*); |
178 void sqlite3VdbeMultiLoad(Vdbe*,int,const char*,...); | 177 void sqlite3VdbeMultiLoad(Vdbe*,int,const char*,...); |
179 int sqlite3VdbeAddOp3(Vdbe*,int,int,int,int); | 178 int sqlite3VdbeAddOp3(Vdbe*,int,int,int,int); |
180 int sqlite3VdbeAddOp4(Vdbe*,int,int,int,int,const char *zP4,int); | 179 int sqlite3VdbeAddOp4(Vdbe*,int,int,int,int,const char *zP4,int); |
181 int sqlite3VdbeAddOp4Dup8(Vdbe*,int,int,int,int,const u8*,int); | 180 int sqlite3VdbeAddOp4Dup8(Vdbe*,int,int,int,int,const u8*,int); |
182 int sqlite3VdbeAddOp4Int(Vdbe*,int,int,int,int,int); | 181 int sqlite3VdbeAddOp4Int(Vdbe*,int,int,int,int,int); |
183 int sqlite3VdbeAddOpList(Vdbe*, int nOp, VdbeOpList const *aOp, int iLineno); | 182 void sqlite3VdbeEndCoroutine(Vdbe*,int); |
| 183 #if defined(SQLITE_DEBUG) && !defined(SQLITE_TEST_REALLOC_STRESS) |
| 184 void sqlite3VdbeVerifyNoMallocRequired(Vdbe *p, int N); |
| 185 void sqlite3VdbeVerifyNoResultRow(Vdbe *p); |
| 186 #else |
| 187 # define sqlite3VdbeVerifyNoMallocRequired(A,B) |
| 188 # define sqlite3VdbeVerifyNoResultRow(A) |
| 189 #endif |
| 190 VdbeOp *sqlite3VdbeAddOpList(Vdbe*, int nOp, VdbeOpList const *aOp, int iLineno)
; |
184 void sqlite3VdbeAddParseSchemaOp(Vdbe*,int,char*); | 191 void sqlite3VdbeAddParseSchemaOp(Vdbe*,int,char*); |
185 void sqlite3VdbeChangeOpcode(Vdbe*, u32 addr, u8); | 192 void sqlite3VdbeChangeOpcode(Vdbe*, u32 addr, u8); |
186 void sqlite3VdbeChangeP1(Vdbe*, u32 addr, int P1); | 193 void sqlite3VdbeChangeP1(Vdbe*, u32 addr, int P1); |
187 void sqlite3VdbeChangeP2(Vdbe*, u32 addr, int P2); | 194 void sqlite3VdbeChangeP2(Vdbe*, u32 addr, int P2); |
188 void sqlite3VdbeChangeP3(Vdbe*, u32 addr, int P3); | 195 void sqlite3VdbeChangeP3(Vdbe*, u32 addr, int P3); |
189 void sqlite3VdbeChangeP5(Vdbe*, u8 P5); | 196 void sqlite3VdbeChangeP5(Vdbe*, u16 P5); |
190 void sqlite3VdbeJumpHere(Vdbe*, int addr); | 197 void sqlite3VdbeJumpHere(Vdbe*, int addr); |
191 void sqlite3VdbeChangeToNoop(Vdbe*, int addr); | 198 int sqlite3VdbeChangeToNoop(Vdbe*, int addr); |
192 int sqlite3VdbeDeletePriorOpcode(Vdbe*, u8 op); | 199 int sqlite3VdbeDeletePriorOpcode(Vdbe*, u8 op); |
193 void sqlite3VdbeChangeP4(Vdbe*, int addr, const char *zP4, int N); | 200 void sqlite3VdbeChangeP4(Vdbe*, int addr, const char *zP4, int N); |
| 201 void sqlite3VdbeAppendP4(Vdbe*, void *pP4, int p4type); |
194 void sqlite3VdbeSetP4KeyInfo(Parse*, Index*); | 202 void sqlite3VdbeSetP4KeyInfo(Parse*, Index*); |
195 void sqlite3VdbeUsesBtree(Vdbe*, int); | 203 void sqlite3VdbeUsesBtree(Vdbe*, int); |
196 VdbeOp *sqlite3VdbeGetOp(Vdbe*, int); | 204 VdbeOp *sqlite3VdbeGetOp(Vdbe*, int); |
197 int sqlite3VdbeMakeLabel(Vdbe*); | 205 int sqlite3VdbeMakeLabel(Vdbe*); |
198 void sqlite3VdbeRunOnlyOnce(Vdbe*); | 206 void sqlite3VdbeRunOnlyOnce(Vdbe*); |
| 207 void sqlite3VdbeReusable(Vdbe*); |
199 void sqlite3VdbeDelete(Vdbe*); | 208 void sqlite3VdbeDelete(Vdbe*); |
200 void sqlite3VdbeClearObject(sqlite3*,Vdbe*); | 209 void sqlite3VdbeClearObject(sqlite3*,Vdbe*); |
201 void sqlite3VdbeMakeReady(Vdbe*,Parse*); | 210 void sqlite3VdbeMakeReady(Vdbe*,Parse*); |
202 int sqlite3VdbeFinalize(Vdbe*); | 211 int sqlite3VdbeFinalize(Vdbe*); |
203 void sqlite3VdbeResolveLabel(Vdbe*, int); | 212 void sqlite3VdbeResolveLabel(Vdbe*, int); |
204 int sqlite3VdbeCurrentAddr(Vdbe*); | 213 int sqlite3VdbeCurrentAddr(Vdbe*); |
205 #ifdef SQLITE_DEBUG | 214 #ifdef SQLITE_DEBUG |
206 int sqlite3VdbeAssertMayAbort(Vdbe *, int); | 215 int sqlite3VdbeAssertMayAbort(Vdbe *, int); |
207 #endif | 216 #endif |
208 void sqlite3VdbeResetStepResult(Vdbe*); | 217 void sqlite3VdbeResetStepResult(Vdbe*); |
209 void sqlite3VdbeRewind(Vdbe*); | 218 void sqlite3VdbeRewind(Vdbe*); |
210 int sqlite3VdbeReset(Vdbe*); | 219 int sqlite3VdbeReset(Vdbe*); |
211 void sqlite3VdbeSetNumCols(Vdbe*,int); | 220 void sqlite3VdbeSetNumCols(Vdbe*,int); |
212 int sqlite3VdbeSetColName(Vdbe*, int, int, const char *, void(*)(void*)); | 221 int sqlite3VdbeSetColName(Vdbe*, int, int, const char *, void(*)(void*)); |
213 void sqlite3VdbeCountChanges(Vdbe*); | 222 void sqlite3VdbeCountChanges(Vdbe*); |
214 sqlite3 *sqlite3VdbeDb(Vdbe*); | 223 sqlite3 *sqlite3VdbeDb(Vdbe*); |
215 void sqlite3VdbeSetSql(Vdbe*, const char *z, int n, int); | 224 void sqlite3VdbeSetSql(Vdbe*, const char *z, int n, int); |
216 void sqlite3VdbeSwap(Vdbe*,Vdbe*); | 225 void sqlite3VdbeSwap(Vdbe*,Vdbe*); |
217 VdbeOp *sqlite3VdbeTakeOpArray(Vdbe*, int*, int*); | 226 VdbeOp *sqlite3VdbeTakeOpArray(Vdbe*, int*, int*); |
218 sqlite3_value *sqlite3VdbeGetBoundValue(Vdbe*, int, u8); | 227 sqlite3_value *sqlite3VdbeGetBoundValue(Vdbe*, int, u8); |
219 void sqlite3VdbeSetVarmask(Vdbe*, int); | 228 void sqlite3VdbeSetVarmask(Vdbe*, int); |
220 #ifndef SQLITE_OMIT_TRACE | 229 #ifndef SQLITE_OMIT_TRACE |
221 char *sqlite3VdbeExpandSql(Vdbe*, const char*); | 230 char *sqlite3VdbeExpandSql(Vdbe*, const char*); |
222 #endif | 231 #endif |
223 int sqlite3MemCompare(const Mem*, const Mem*, const CollSeq*); | 232 int sqlite3MemCompare(const Mem*, const Mem*, const CollSeq*); |
224 | 233 |
225 void sqlite3VdbeRecordUnpack(KeyInfo*,int,const void*,UnpackedRecord*); | 234 void sqlite3VdbeRecordUnpack(KeyInfo*,int,const void*,UnpackedRecord*); |
226 int sqlite3VdbeRecordCompare(int,const void*,UnpackedRecord*); | 235 int sqlite3VdbeRecordCompare(int,const void*,UnpackedRecord*); |
227 int sqlite3VdbeRecordCompareWithSkip(int, const void *, UnpackedRecord *, int); | 236 int sqlite3VdbeRecordCompareWithSkip(int, const void *, UnpackedRecord *, int); |
228 UnpackedRecord *sqlite3VdbeAllocUnpackedRecord(KeyInfo *, char *, int, char **); | 237 UnpackedRecord *sqlite3VdbeAllocUnpackedRecord(KeyInfo*); |
229 | 238 |
230 typedef int (*RecordCompare)(int,const void*,UnpackedRecord*); | 239 typedef int (*RecordCompare)(int,const void*,UnpackedRecord*); |
231 RecordCompare sqlite3VdbeFindCompare(UnpackedRecord*); | 240 RecordCompare sqlite3VdbeFindCompare(UnpackedRecord*); |
232 | 241 |
233 #ifndef SQLITE_OMIT_TRIGGER | 242 #ifndef SQLITE_OMIT_TRIGGER |
234 void sqlite3VdbeLinkSubProgram(Vdbe *, SubProgram *); | 243 void sqlite3VdbeLinkSubProgram(Vdbe *, SubProgram *); |
235 #endif | 244 #endif |
236 | 245 |
237 /* Use SQLITE_ENABLE_COMMENTS to enable generation of extra comments on | 246 /* Use SQLITE_ENABLE_COMMENTS to enable generation of extra comments on |
238 ** each VDBE opcode. | 247 ** each VDBE opcode. |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 # define VdbeCoverageNeverTaken(v) | 302 # define VdbeCoverageNeverTaken(v) |
294 # define VDBE_OFFSET_LINENO(x) 0 | 303 # define VDBE_OFFSET_LINENO(x) 0 |
295 #endif | 304 #endif |
296 | 305 |
297 #ifdef SQLITE_ENABLE_STMT_SCANSTATUS | 306 #ifdef SQLITE_ENABLE_STMT_SCANSTATUS |
298 void sqlite3VdbeScanStatus(Vdbe*, int, int, int, LogEst, const char*); | 307 void sqlite3VdbeScanStatus(Vdbe*, int, int, int, LogEst, const char*); |
299 #else | 308 #else |
300 # define sqlite3VdbeScanStatus(a,b,c,d,e) | 309 # define sqlite3VdbeScanStatus(a,b,c,d,e) |
301 #endif | 310 #endif |
302 | 311 |
303 #endif | 312 #endif /* SQLITE_VDBE_H */ |
OLD | NEW |