aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2019-05-04 01:41:18 +0000
committerdrh <drh@noemail.net>2019-05-04 01:41:18 +0000
commitb1d93be142bfdffdb7122e2b2a0cd7b60549f6ac (patch)
treeaa0861049c89e023a164a0614aecc57d37ffefda /src/sqliteInt.h
parent30d3b0ceb55f4a1fcf661236dee0cd0437f35fcb (diff)
parent3242c69c9140d54d98b110b72055e17fd6ede5e0 (diff)
downloadsqlite-b1d93be142bfdffdb7122e2b2a0cd7b60549f6ac.tar.gz
sqlite-b1d93be142bfdffdb7122e2b2a0cd7b60549f6ac.zip
In the sqlite3_value or Mem object, make the MEM_IntReal type completely
independent from MEM_Int and MEM_Real. This helps avoid problems when inserting non-float values into a "REAL" column. FossilOrigin-Name: 5a8a23ee5f60a31dbd167a0966d1ab3d0f1c07df2251906cb73f23d1f5466b46
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);