field truncate trying to using 'show slave status'

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
damienwright
Posts: 2
Joined: Wed 27 May 2009 15:10

Post by damienwright » Wed 27 May 2009 15:16

I appear to have this same truncation issue.
I am using MySQL 5.1.31 via TCP and MyDAC 5.80.0.46 for Delphi.

When I use TMyQuery to run 'SHOW SLAVE STATUS;' fields such as Last_IO_Error are reported as having a length of 20. This is true wether the fields are bound at designtime or runtime. Even if I use the field editor to increase the SIZE property of the field only the first 20 characters are returned.

Is there a workaround / known fix for this that I can apply ?

Best regards,

Damien.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 29 May 2009 08:11

Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next MyDAC build.

Post Reply