MAX() function in 5.00.0.4

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
r.bruinsma
Posts: 2
Joined: Wed 28 Mar 2007 16:00

MAX() function in 5.00.0.4

Post by r.bruinsma » Wed 28 Mar 2007 16:09

When I execute the query:
SELECT MAX(cursist_id) FROM cursist

the following error occurs:
Access violation at address 032DDC79 in module 'mydac70.bpl'. Read of address 0000000C.

The error only occurs when I MAX() an primary key auto-increment.

This is not an error in my program, it occurs in a new application, on an otherwise empty form, with only a TMyConnection and a TMyQuery. This problem did not exist when I compiled my application with MyDAC 4.40.

I use Delphi 7 professional, build 8.1 on WinXP SP2

Has anyone experienced this error or any thoughts about the cause?

Jackson
Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Thu 29 Mar 2007 08:17

Thank you for information.
We have reproduced the problem and fixed it.
This fix will be available in the next build of MYDAC 5.

Post Reply