I get this with latest CVS: Compiling /home/ales/fpc/packages/base/mysql/mysql.pp…
ales wrote 12 lines
I get this with latest CVS:
Compiling /home/ales/fpc/packages/base/mysql/mysql.pp
mysqldb.pp(241,30) Error: Illegal qualifier
mysqldb.pp(241,24) Error: Operator is not overloaded
mysqldb.pp(241,30) Fatal: Syntax error, "THEN" expected but "identifier
NAME" found
Have found out probably buggy declaration in mysql unit:
MYSQL_FIELD = st_mysql_field;
TMYSQL_FIELD = ^MYSQL_FIELD; <-- should probably be MYSQL_FIELD
PMYSQL_FIELD = ^MYSQL_FIELD;
It is a known problem. A fix exists, and will be committed tonight.
However:
excpect to have to rework a lot of code when you use the mysql unit directly.
The version was upgraded to version 4.0, and this is significantly different from 3.x
Michael.
