sqlite3 BLOB problem

"Paul Werkowski" <[email protected]>
Newsgroups gmane.lisp.clsql.devel
Message-ID <000b01c4da1c$9f3f6d10$0201a8c0@moby>
The new sqlite3 backend has support for BLOB datatypes and it almost works
(on LWW 4.3.7).
The trouble is that CONVERT-RAW-FIELD gets passed a pointer to :VOID
and returns a vector of zeros instead of data. I hacked a Lispworks specific
mod
to my sources that casts the pointer to foreign type :BYTE and that gets the
correct result.
I'm not fluent enough in UFFI to propose a real fix.

Also, sqlite3::get-result-typs needs to handle the :BLOB keyword in
:result-types
to get it to work at all.

Paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.