According to the sqlite spec (http://www.sqlite.org/datatype3.html), a column with declared type of 'string' should have affinity NUMERIC. However, the last query triggers a FLOATING-POINT-OVERFLOW error. Is this what we expect with the last query? Rather, as with the earlier query (8351E70), shouldn't the last query also return NIL?
(defun test1 ()
(let ((our-db (connect ":memory:")))
(execute-non-query our-db "CREATE TABLE \"sub\" (`tr` string);")
(execute-non-query our-db "INSERT INTO `sub` VALUES('0');")
(sqlite::execute-single our-db "SELECT * FROM sub WHERE tr=? ;" "8351E70")
(sqlite::execute-single our-db "SELECT * FROM sub WHERE tr=? ;" "8351E700")))
According to the sqlite spec (http://www.sqlite.org/datatype3.html), a column with declared type of 'string' should have affinity NUMERIC. However, the last query triggers a
FLOATING-POINT-OVERFLOWerror. Is this what we expect with the last query? Rather, as with the earlier query (8351E70), shouldn't the last query also return NIL?