<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
 <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
 </head>
 <body>
  <p style="margin: 0pt;">
   <span>
    <span></span>
   </span>
  </p>
  <p style="margin: 0px; "></p>
  <div style="margin: 5px 0px;">
   <br/>
   michael.vancanneyt@wisa.be hat am 17. Januar 2012 um 13:28 geschrieben:
   <br/>
   <br/>
   >
   <br/>
   >
   <br/>
   > On Tue, 17 Jan 2012, Mattias Gaertner wrote:
   <br/>
   >
   <br/>
   > > Hi,
   <br/>
   > >
   <br/>
   > > I tried connecting to a mysql 5.5 database and used the fpc unit mysql51.
   <br/>
   > > There are only examples for 3 and 4, so I started with testdb4.pp and
   <br/>
   > > adapted it.
   <br/>
   > > It turned out that the MYSQL record is missing some new fields, so the
   <br/>
   > > mysql_init overwrites the memory behind.
   <br/>
   > > After adding some dummy bytes at the end it worked nice.
   <br/>
   > >
   <br/>
   > > Is there a better way?
   <br/>
   >
   <br/>
   > Yes, convert the mysql 5.5. headers. Or adapt the 5.1 headers to match the
   <br/>
   > 5.5 specs.
  </div>
  <p style="margin: 0px;"> </p>
  <p style="margin: 0px;">;)</p>
  <p style="margin: 0px;"> </p>
  <p style="margin: 0px;"> </p>
  <div style="margin: 5px 0px;">
    
   <br/>
   > That is how we bring it up-to-date whenever a new MySQL version appears.
  </div>
  <p style="margin: 0px;"> </p>
  <p style="margin: 0px;">I only found mysql51 headers. Are there some newer ones?  </p>
  <p style="margin: 0px;"> </p>
  <p style="margin: 0px;">I would like my program to still run when the next small upgrade comes. As far as I can see new things are only added at the end, so adding some dummy bytes for "future extensions" may help here. Is this wishful thinking? </p>
  <p style="margin: 0px;"> </p>
  <p style="margin: 0px;"> </p>
  <p style="margin: 0px;">Mattias</p>
  <p style="margin: 0px;"> </p>
 </body>
</html>