[fpc-devel] [FPC] SQLdb: bug added with a bugfix port (FPC 2.2.0 + fixes)

Joost van der Sluis joost at cnoc.nl
Thu Nov 15 10:41:59 CET 2007


Op woensdag 14-11-2007 om 11:08 uur [tijdzone +0100], schreef Alvise
Nicoletti:
> Hi...
> 
> I wrote some mails to Joost van der Sluis notifying that there is a 
> strange bug in FPC 2.2.1 ( 
> http://svn.freepascal.org/svn/fpc/branches/fixes_2_2 ) regarding SQLdb.
> 
> When I select DECIMAL colums with mysql, I get a "Invalid field size" 
> exception even if I don't use it (I don't fetcìh them with FieldByName).
> Joost said me that the cause is "a patch in r2.3.1 which shoudn't be 
> merged to fpc 2.1.1. but someone did".
> After that I didn't speak with him anymore.
> 
> My question is... how can I fix that?

I've merged the patches to fix this problem to fpc 2.1.1. So you can use
the snapshot from tomorrow. 

Thereafter you can use that version until you encounter a certain
problem which is fixed in a newer version of fpc 2.1.1. At that point
you have to decide if you update again...

Joost




More information about the fpc-devel mailing list