[fpc-devel] SQlite dataset small fix

Bogusław Brandys brandys at o2.pl
Sun Oct 30 17:38:47 CET 2005


Hello,

Attached diff for sqliteds.pas and sqlite3ds.pas allow to properly
recognize CHAR(X) and VARCHAR(X) types for sqlite dataset.
It is really small fix done because I have such sqlite database with
defined VARCHAR fields (although sqlite is typeless)
It is using Pos function to find if CHAR is somewhere inside field type
and to find () and get X value .Maybe not too clever but I could'nt find
any better/simpler way.

Regards
Boguslaw Brandys
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sqliteds.diff
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20051030/9df937d9/attachment.ksh>


More information about the fpc-devel mailing list