[fpc-pascal]Problem about TMysqlDataset

Michael Van Canneyt michael.vancanneyt at wisa.be
Thu Nov 7 14:21:09 CET 2002


On Thu, 7 Nov 2002, mili wrote:

> Hello,
>
>   Can anybody tell me why the following codes can't work?
>
> >>>>>>
> var
>   Data : TMysqldataset;
> begin
>   Data:=TMysqlDataset.Create(nil);
>   With Data do begin
>     Host:='localhost';
>     Database:='mysql';
>     User:='root';
>     PassWord := '******';
>     SQL.text := 'select * from user';
>     Open;//Here an error "Internal error." occurs
>     Close;
>     Free;
>   end;//with Data do
> <<<<<<
>
>   How to use TMysqldataset correctly?

This problem has been identified and will be fixed soon. Basically, an
Int64 result is being stored in an integer field. A fix will be put in
CVS soon.

Michael.





More information about the fpc-pascal mailing list