Blob-Support for Files > 1 MB

Forum related to SQLite

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
Bernhard Geyer
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 14.11.2007, 13:53

Blob-Support for Files > 1 MB

Post by Bernhard Geyer »

I download the latest CVS-Snapshot today an use the latest sqlite3.dll (Version 3.5.2) and try to save Files > 1 MB to the Database, but get a error that this would be too big (SQL Error: String or BLOB exceeded size limit)

As I unterstand this was a limitation of V2 (http://effbot.org/zone/sqlite-blob.htm):
The SQLITE database has limited support for large binary objects (BLOBS). There’s a limitation of 1 megabyte for each row of data, and the database uses NUL bytes to separate columns in the storage.

Note: This limitation has been removed in SQLITE 3.0.
Does this limitation still exists in ZEOS?
Bernhard Geyer
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 14.11.2007, 13:53

Post by Bernhard Geyer »

Hi,

I've changed the DLL with the Version that is provided with 6.6.1-beta and now it works. Which version is this DLL? When I look in the DLL with a Hex-Viewer I would think that this is 3.3.8.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

If you look at the name of the *.so library... it's 3.3.8 indeed. I don't know what changed between 3.3.8 and 3.5.2.
BTW. I hope you meant 'SVN snapshot' instead of CVS? If not your version is very old. We did fix some serious memory leaks recently, so please use a recent snapshot from http://zeosdownloads.firmos.at/downloads/snapshots/

Mark
Last edited by mdaems on 16.11.2007, 19:54, edited 1 time in total.
Bernhard Geyer
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 14.11.2007, 13:53

Post by Bernhard Geyer »

mdaems wrote:We did fix some serious memory leaks recently, so please use a recent snapshot from http://zeosdownlads.firmos.at/downloads/snapshots/
Found correct URL:
http://zeosdownload.firmos.at/downloads/snapshots/
aducom
Zeos Dev Team
Zeos Dev Team
Posts: 67
Joined: 30.08.2005, 13:21

Post by aducom »

There's an error limiting blobs on sqlite within sqlite3.dll. It's been addressed and afaik it will be in the next formal release.
Post Reply