[fpc-pascal] The Interface to MySQL has changed on version by version

Michael Van Canneyt michael at freepascal.org
Mon Oct 8 10:44:55 CEST 2007



On Mon, 8 Oct 2007, Andi Purwito wrote:

> Hi all. This is my test program to track interface changes in mysql lib.

>  ---------------------------------------------------------------------
>  Compiling MySQLku.pas
>  
> mysqlku.pas(16,18) Error: Identifier not found "TMYSQL"
> mysqlku.pas(16,18) Error: Error in type definition
> mysqlku.pas(18,22) Error: Identifier not found "TMYSQL_ROW"
> mysqlku.pas(18,22) Error: Error in type definition
> mysqlku.pas(74,17) Error: Operator is not  overloaded
> mysqlku.pas(76,32) Error: Illegal qualifier
> mysqlku.pas(76,35) Error: Illegal expression
> mysqlku.pas(77,35) Error: Illegal qualifier
> mysqlku.pas(77,38) Error: Illegal expression
> mysqlku.pas(78,37) Error: Illegal qualifier
> mysqlku.pas(78,44) Error: Illegal expression
> 
> It's look that the interface has changed. But where can we get and follow its change?

You cannot. Mysql is a pain to maintain. They break interface compatibility
almost every release.

Michael.



More information about the fpc-pascal mailing list