SQLite 3 support

Notices and updates
Locked
Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

SQLite 3 support

Post by Lutz »

SQLite 3 support has been added. For details see: http://www.newlisp.org/index.cgi?page=News

Lutz

HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Post by HPW »

Hello Lutz,

Sounds good. Could you post sqlite3.cgi with another extension, so that we can download it?
Hans-Peter

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »


HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Post by HPW »

Any plans to add blob support to the SQLite 3 modul?

Export Blob-field to binary file
Import binary File to Blob-field
Export Blob-field to memory
Import memory to Blob-field

PS: The last link is no more valid and can be deleted.
Hans-Peter

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

BLOB handling is prepared but not finished yet. If you add the line:

(import library "sqlite3_column_blob" "cdecl")

in the section where the import are made, you will get BLOBs handled like 'C' strings, this means the blob received will stop at the first binary zero encountered. To receive BLOBs with embedded zeros a little more work has to be done in sqlite3.lsp. I will put it on my list of things to do.

Lutz

HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Post by HPW »

....a little more work ....
Sounds promising!
;-)

So keep on.
(I am thinking about similar for a neobook plugin)
Hans-Peter

Locked