diff options
author | Wez Furlong <wez@php.net> | 2003-06-06 22:44:57 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2003-06-06 22:44:57 +0000 |
commit | 30fc9e152f6279df812bfc32da309c2c8397671d (patch) | |
tree | dec0b645f8a7faafc92ebffd4df9a7ce2e8b9446 /ext/sqlite/libsqlite/src/sqlite.w32.h | |
parent | 6610183236b88cf1017fbd71b0561fac9cee9c8f (diff) | |
download | php-git-30fc9e152f6279df812bfc32da309c2c8397671d.tar.gz |
Update bundled library to 2.8.3 + patches from sqlite author to enable
authorization checks for the ATTACH database command.
Diffstat (limited to 'ext/sqlite/libsqlite/src/sqlite.w32.h')
-rw-r--r-- | ext/sqlite/libsqlite/src/sqlite.w32.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/sqlite/libsqlite/src/sqlite.w32.h b/ext/sqlite/libsqlite/src/sqlite.w32.h index 453b6fd168..778ef3d1c1 100644 --- a/ext/sqlite/libsqlite/src/sqlite.w32.h +++ b/ext/sqlite/libsqlite/src/sqlite.w32.h @@ -28,7 +28,7 @@ extern "C" { /* ** The version of the SQLite library. */ -#define SQLITE_VERSION "2.8.2" +#define SQLITE_VERSION "2.8.3" /* ** The version string is also compiled into the library so that a program @@ -42,7 +42,7 @@ extern const char sqlite_version[]; ** UTF-8 encoded data. The SQLITE_ISO8859 macro is defined if the ** iso8859 encoded should be used. */ -#define SQLITE_iso8859 1 +#define SQLITE_ISO8859 1 /* ** The following constant holds one of two strings, "UTF-8" or "iso8859", @@ -391,6 +391,7 @@ int sqlite_get_table_vprintf( va_list ap /* Arguments to the format string */ ); char *sqlite_mprintf(const char*,...); +char *sqlite_vmprintf(const char*, va_list); /* ** Windows systems should call this routine to free memory that @@ -554,6 +555,9 @@ int sqlite_set_authorizer( #define SQLITE_SELECT 21 /* NULL NULL */ #define SQLITE_TRANSACTION 22 /* NULL NULL */ #define SQLITE_UPDATE 23 /* Table Name Column Name */ +#define SQLITE_ATTACH 24 /* Filename NULL */ +#define SQLITE_DETACH 25 /* Database Name NULL */ + /* ** The return value of the authorization function should be one of the |