[fpc-pascal] MySQL5

Marco van de Voort marcov at stack.nl
Tue Jan 17 13:46:21 CET 2012


In our previous episode, michael.vancanneyt at wisa.be said:
> > 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?
> 
> Yes, convert the mysql 5.5. headers. Or adapt the 5.1 headers to match the
> 5.5 specs.
> 
> That is how we bring it up-to-date whenever a new MySQL version appears.

http://bugs.freepascal.org/view.php?id=19736



More information about the fpc-pascal mailing list