aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordan <dan@noemail.net>2009-08-19 08:18:32 +0000
committerdan <dan@noemail.net>2009-08-19 08:18:32 +0000
commit69188d9a66e32f7d24c0eb333d5999096029f99c (patch)
tree5596cbec9254af3832cb8b82e9ada683cde6a503 /src/sqliteInt.h
parente275dc3fb865fad483dad13a37a6b82314c698cb (diff)
downloadsqlite-69188d9a66e32f7d24c0eb333d5999096029f99c.tar.gz
sqlite-69188d9a66e32f7d24c0eb333d5999096029f99c.zip
Add the SQLITE_ENABLE_STAT2 macro. If this is not defined at build-time, the stat2 table is not created, populated, or used.
FossilOrigin-Name: 362665e89c21fd603d9f8ad6c0ead590e885af7c
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 56dd912ac..5fc38a5f2 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -2798,7 +2798,9 @@ void sqlite3ValueSetStr(sqlite3_value*, int, const void *,u8,
void sqlite3ValueFree(sqlite3_value*);
sqlite3_value *sqlite3ValueNew(sqlite3 *);
char *sqlite3Utf16to8(sqlite3 *, const void*, int);
+#ifdef SQLITE_ENABLE_STAT2
char *sqlite3Utf8to16(sqlite3 *, int, char *, int, int *);
+#endif
int sqlite3ValueFromExpr(sqlite3 *, Expr *, u8, u8, sqlite3_value **);
void sqlite3ValueApplyAffinity(sqlite3_value *, u8, u8);
#ifndef SQLITE_AMALGAMATION