[fpc-pascal]mySQL unit

Michael Van Canneyt michael.vancanneyt at wisa.be
Mon Sep 23 09:28:07 CEST 2002


On Mon, 23 Sep 2002, James Mills wrote:

> Is there any documentation for the mySQL unit?

No.

> I'd like to check what errors I get from using mySQL, ie: check for the
> existance of a table, do appropiate action, etc...

The only documentation is the mysql documentation itself; The mysql unit
is simply a translation of the mysql C headers.

The mysql_error() function returns a string that describes the error,
maybe this is enough for your purposes.

Michael.





More information about the fpc-pascal mailing list