Hi,

I tried connecting to a mysql 5.5 database and used the fpc unit mysql51.
There are only examples for 3 and 4, so I started with testdb4.pp and
adapted it.
It turned out that the MYSQL record is missing some new fields, so the
mysql_init overwrites the memory behind.
After adding some dummy bytes at the end it worked nice.

Is there a better way?
If not, maybe this should be done by default?

Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to