[fpc-devel] MySQL 5.1 and Sum(Field) sql statement

Andrew Brunner andrew.t.brunner at gmail.com
Tue Oct 19 03:07:13 CEST 2010


I'm using Ubuntu 10.10 and Lazarus, FPC from svn/trunk (today) and I
got the MySQL51 database component to pickup the field returned during
the Query.Open command.

http://bugs.freepascal.org/view.php?id=17661

I've traced into where FPC is looking for the field type and goes
through the list of known types before assigning a field to the
result.  My database fields that I'm adding are FIELD_TYPE_LONGLONG
(for Int64) so I would expect the resultant field in the datagram to
be recognized as FIELD_TYPE_LONGLONG.

Now the problem is, the field is defined as the wrong type.



More information about the fpc-devel mailing list