Upgraded sqlite2 lib to 2.8.16

This commit is contained in:
Ilia Alshanetsky 2005-09-07 15:10:15 +00:00
parent 49cf0eff6a
commit 2195f7ec74
17 changed files with 270 additions and 189 deletions

View file

@ -28,7 +28,11 @@ extern "C" {
/*
** The version of the SQLite library.
*/
#define SQLITE_VERSION "--VERS--"
#ifdef SQLITE_VERSION
# undef SQLITE_VERSION
#else
# define SQLITE_VERSION "--VERS--"
#endif
/*
** The version string is also compiled into the library so that a program
@ -479,9 +483,23 @@ int sqlite_function_type(
int datatype /* The datatype for this function */
);
#define SQLITE_NUMERIC (-1)
#define SQLITE_TEXT (-2)
/* #define SQLITE_TEXT (-2) // See below */
#define SQLITE_ARGS (-3)
/*
** SQLite version 3 defines SQLITE_TEXT differently. To allow both
** version 2 and version 3 to be included, undefine them both if a
** conflict is seen. Define SQLITE2_TEXT to be the version 2 value.
*/
#ifdef SQLITE_TEXT
# undef SQLITE_TEXT
#else
# define SQLITE_TEXT (-2)
#endif
#define SQLITE2_TEXT (-2)
/*
** The user function implementations call one of the following four routines
** in order to return their results. The first parameter to each of these