I'm using MyDAC 4.40.0.23 with Delphi 5 and got the following exception:
Assertion failure (d:\Projects\Delphi\Mydac\Source\MySqlApiDirect.pas, Zeile 548)
What is this assertion checking?
Assertion failure - MySqlApiDirect.pas, Line 548
I've got the same message with the last version 5.90 on D7.
I would like to use a 24H/24H client S/W without MySQL disconnection on MyIsam database.
So I added TCustomMyConnection.Ping every minute in a timer.
But when the Ping start during a query : I've got this error.
How to check if a query is running ?
With TCustomMyConnection.InTransaction ?
Thx for your support
Code: Select all
Assertion failure (D:\Projects\Delphi\Dac\MySql\Source\MySqlApiDirect.pas, line 555)So I added TCustomMyConnection.Ping every minute in a timer.
But when the Ping start during a query : I've got this error.
How to check if a query is running ?
With TCustomMyConnection.InTransaction ?
Thx for your support
-
eduardosic
- Posts: 387
- Joined: Fri 18 Nov 2005 00:26
- Location: Brazil
See MyDAC help about LocalFailOvercherubinc wrote:I've got the same message with the last version 5.90 on D7.I would like to use a 24H/24H client S/W without MySQL disconnection on MyIsam database.Code: Select all
Assertion failure (D:\Projects\Delphi\Dac\MySql\Source\MySqlApiDirect.pas, line 555)
So I added TCustomMyConnection.Ping every minute in a timer.
But when the Ping start during a query : I've got this error.
How to check if a query is running ?
With TCustomMyConnection.InTransaction ?
Thx for your support
I can not reproduce the problem. Please try to compose a small sample to demonstrate the problem and send it to dmitryg*devart*com.cherubinc wrote:So I added TCustomMyConnection.Ping every minute in a timer.
But when the Ping start during a query : I've got this error.
Note: MyDAC can work in multithreaded applications, so it is thread safe. But the restriction is that you cannot use one component for more than one thread simultaneously.