aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2019-05-03 21:17:28 +0000
committerdrh <drh@noemail.net>2019-05-03 21:17:28 +0000
commit0c8f40389ea950077ec8e265b4d9cb7a15e2bc58 (patch)
tree848b3349acf2624fd7f3e04e849ef1fd804ab99d /src/sqliteInt.h
parentf2566c4132bc85ec7a11bd2ce0bf012e24817cee (diff)
downloadsqlite-0c8f40389ea950077ec8e265b4d9cb7a15e2bc58.tar.gz
sqlite-0c8f40389ea950077ec8e265b4d9cb7a15e2bc58.zip
Add the SQLITE_TESTCTRL_RESULT_INTREAL test-control and use it to create
the intreal() SQL function in testfixture. Write a few simple tests to prove this all works. TH3 will hold most of the INTREAL tests, probably. FossilOrigin-Name: c9838731325e0ca73bd8784c10c74ae043fed7861e6de269fd90e29fa4a19955
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 00ac00274..e6b3aeca1 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -4272,6 +4272,9 @@ void sqlite3ValueSetStr(sqlite3_value*, int, const void *,u8,
void(*)(void*));
void sqlite3ValueSetNull(sqlite3_value*);
void sqlite3ValueFree(sqlite3_value*);
+#ifndef SQLITE_UNTESTABLE
+void sqlite3ResultIntReal(sqlite3_context*);
+#endif
sqlite3_value *sqlite3ValueNew(sqlite3 *);
#ifndef SQLITE_OMIT_UTF16
char *sqlite3Utf16to8(sqlite3 *, const void*, int, u8);