summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite/sqlite/src/vdbeInt.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2007-04-09 16:35:11 +0000
committerIlia Alshanetsky <iliaa@php.net>2007-04-09 16:35:11 +0000
commiteb8d30f9122748c70fab74445205011a58c5988e (patch)
tree1e6df4121f0eaad252f608a1f95076c345f59d5b /ext/pdo_sqlite/sqlite/src/vdbeInt.h
parent857f992cd3c64d6338e221a6decfd4a94e6a1b08 (diff)
downloadphp-git-eb8d30f9122748c70fab74445205011a58c5988e.tar.gz
Upgrade libsqlite 3 inside PDO sqlite to version 3.3.15
Diffstat (limited to 'ext/pdo_sqlite/sqlite/src/vdbeInt.h')
-rw-r--r--ext/pdo_sqlite/sqlite/src/vdbeInt.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/pdo_sqlite/sqlite/src/vdbeInt.h b/ext/pdo_sqlite/sqlite/src/vdbeInt.h
index d2f737c990..11c906100c 100644
--- a/ext/pdo_sqlite/sqlite/src/vdbeInt.h
+++ b/ext/pdo_sqlite/sqlite/src/vdbeInt.h
@@ -31,7 +31,7 @@
** array is defined in a separate source code file named opcode.c which is
** automatically generated by the makefile.
*/
-extern char *sqlite3OpcodeNames[];
+extern const char *const sqlite3OpcodeNames[];
/*
** SQL is translated into a sequence of instructions to be
@@ -125,7 +125,10 @@ typedef struct Cursor Cursor;
** SQLITE_BLOB.
*/
struct Mem {
- i64 i; /* Integer value. Or FuncDef* when flags==MEM_Agg */
+ union {
+ i64 i; /* Integer value. Or FuncDef* when flags==MEM_Agg */
+ FuncDef *pDef; /* Used only when flags==MEM_Agg */
+ } u;
double r; /* Real value */
char *z; /* String or BLOB value */
int n; /* Number of characters in string value, including '\0' */