aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-06-24 15:06:29 +0000
committerdrh <drh@noemail.net>2020-06-24 15:06:29 +0000
commit8cda77d44af3bca7353bfd216a1e513d4723e2ea (patch)
treeafb21c1f0eb7c5c2038197565686e1de571a3651 /src
parentec18b6e5b9d8f6c35bed9294c3da5ac883e99713 (diff)
downloadsqlite-8cda77d44af3bca7353bfd216a1e513d4723e2ea.tar.gz
sqlite-8cda77d44af3bca7353bfd216a1e513d4723e2ea.zip
Add the ieee754_mantissa() and ieee754_exponent() functions to the iee754
extension. Build the ieee754 extension into the CLI. FossilOrigin-Name: db2f0836b64cd2e119684f1cf75fa3b19a84ca6aca1a239f7e2b9298016e2c95
Diffstat (limited to 'src')
-rw-r--r--src/shell.c.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shell.c.in b/src/shell.c.in
index be858f013..2ad7f990d 100644
--- a/src/shell.c.in
+++ b/src/shell.c.in
@@ -1012,6 +1012,7 @@ INCLUDE ../ext/misc/appendvfs.c
INCLUDE ../ext/misc/memtrace.c
INCLUDE ../ext/misc/uint.c
INCLUDE ../ext/misc/decimal.c
+INCLUDE ../ext/misc/ieee754.c
#ifdef SQLITE_HAVE_ZLIB
INCLUDE ../ext/misc/zipfile.c
INCLUDE ../ext/misc/sqlar.c
@@ -4558,6 +4559,7 @@ static void open_db(ShellState *p, int openFlags){
sqlite3_completion_init(p->db, 0, 0);
sqlite3_uint_init(p->db, 0, 0);
sqlite3_decimal_init(p->db, 0, 0);
+ sqlite3_ieee_init(p->db, 0, 0);
#if !defined(SQLITE_OMIT_VIRTUALTABLE) && defined(SQLITE_ENABLE_DBPAGE_VTAB)
sqlite3_dbdata_init(p->db, 0, 0);
#endif