summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite/sqlite/src/utf.c
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/utf.c
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/utf.c')
-rw-r--r--ext/pdo_sqlite/sqlite/src/utf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/pdo_sqlite/sqlite/src/utf.c b/ext/pdo_sqlite/sqlite/src/utf.c
index 6b78a6dee6..58c9647598 100644
--- a/ext/pdo_sqlite/sqlite/src/utf.c
+++ b/ext/pdo_sqlite/sqlite/src/utf.c
@@ -63,6 +63,12 @@
#include "vdbeInt.h"
/*
+** The following constant value is used by the SQLITE_BIGENDIAN and
+** SQLITE_LITTLEENDIAN macros.
+*/
+const int sqlite3one = 1;
+
+/*
** This table maps from the first byte of a UTF-8 character to the number
** of trailing bytes expected. A value '4' indicates that the table key
** is not a legal first byte for a UTF-8 character.