[fpc-pascal]mySQL unit

James Mills prologic at useoz.com
Mon Sep 23 09:43:14 CEST 2002


thanks Michael...
I'd assume then that the makers of mySQL would have made all errors to a
standard of some sort, so that the program will work throughout most
versions of mySQL. (I hope *fingers crossed*). Anyway, I'll
investigate...

cheers
James

On Mon, Sep 23, 2002 at 09:28:07AM +0200, Michael Van Canneyt wrote:
> 
> 
> 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.
> 
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list