Re: [fpc-pascal] MySQL5

2012-01-17 Thread michael . vancanneyt
On Tue, 17 Jan 2012, ik wrote: Most people don't notice this, since all distributions recompile everything that depends on MySQL from scratch anyway. But for FPC, the case is different. MySQL is "deprecated", and there are several open source projects that uses the same code base, but try

Re: [fpc-pascal] MySQL5

2012-01-17 Thread ik
On Tue, Jan 17, 2012 at 15:19, wrote: > > > On Tue, 17 Jan 2012, Mattias Gaertner wrote: > > >> michael.vancann...@wisa.be hat am 17. Januar 2012 um 13:28 geschrieben: >> >> >>> >>> On Tue, 17 Jan 2012, Mattias Gaertner wrote: >>> >>> Hi, I tried connecting to a mysql 5.5 database and

Re: [fpc-pascal] MySQL5

2012-01-17 Thread michael . vancanneyt
On Tue, 17 Jan 2012, Mattias Gaertner wrote: michael.vancann...@wisa.be hat am 17. Januar 2012 um 13:28 geschrieben: On Tue, 17 Jan 2012, Mattias Gaertner wrote: 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 st

Re: [fpc-pascal] MySQL5

2012-01-17 Thread Mattias Gaertner
michael.vancann...@wisa.be hat am 17. Januar 2012 um 13:28 geschrieben: > > > On Tue, 17 Jan 2012, Mattias Gaertner wrote: > > > 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 > > adap

Re: [fpc-pascal] MySQL5

2012-01-17 Thread Marco van de Voort
In our previous episode, michael.vancann...@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 byt

Re: [fpc-pascal] MySQL5

2012-01-17 Thread michael . vancanneyt
On Tue, 17 Jan 2012, Mattias Gaertner wrote: 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 overwr