Page 1 of 1
Assertion failure - MySqlApiDirect.pas, Line 548
Posted: Fri 03 Apr 2009 07:22
by skirsche
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?
Posted: Mon 06 Apr 2009 07:07
by Dimon
This is an internal check if connection parameters is set.
To solve the problem please give its more detailed description.
Posted: Thu 22 Apr 2010 01:31
by cherubinc
I've got the same message with the last version 5.90 on D7.
Code: Select all
Assertion failure (D:\Projects\Delphi\Dac\MySql\Source\MySqlApiDirect.pas, line 555)
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
Posted: Thu 22 Apr 2010 02:39
by eduardosic
cherubinc wrote:I've got the same message with the last version 5.90 on D7.
Code: Select all
Assertion failure (D:\Projects\Delphi\Dac\MySql\Source\MySqlApiDirect.pas, line 555)
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
See MyDAC help about LocalFailOver
Posted: Thu 22 Apr 2010 07:35
by Dimon
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.
I can not reproduce the problem. Please try to compose a small sample to demonstrate the problem and send it to dmitryg*devart*com.
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.