Re: sqlite3 BLOB problem

Cyrus Harmon <ch-clsql-dl6SmSK5uza1Z/[email protected]>
Newsgroups gmane.lisp.clsql.devel
Message-ID <[email protected]>
Any progress on blob support in clsql? I'd like to use a blob column  
in a dev-view-class using sqlite, and thought I would check on the  
status of this first.

Thanks,

Cyrus

On Dec 4, 2004, at 8:16 AM, Paul Werkowski wrote:

> 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
>
>
> _______________________________________________
> CLSQL-Devel mailing list
> [email protected]
> http://lists.b9.com/mailman/listinfo/clsql-devel
>
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.