[Lazarus] FYI: qt is going to be LGPL

SonWol at yandex.ru SonWol at yandex.ru
Sun Feb 8 11:00:23 CET 2009


Hi,

When I put image data into a BLOB field with 
TSqlite3Dataset.CreateBlobStream and query BlobStream.Size the returned 
size is much smaller than the data copied into the stream.

So far I have traced it to line 366 in 
fpc\2.2.3\source\packages\fcl-db\src\sqlite\customsqliteds.pas:

FRowSize:=StrLen(NewRow);

NewRow, having just received some image data, contains #0's, so StrLen 
returns undesired result. Line 326 must also be wrong.

How to fix?

While I have your attention: on http://sqlite-wince.sourceforge.net/ 
there is a newsflash saying "v3.3.5 is now official - new version is 
just a copy of Sqlite source". Does this mean the official Sqlite source 
works on Wince, and can anybody point me to a recent binary or compile 
instructions for Sqlite on Wince?

Thanks,

Paul.



More information about the Lazarus mailing list