Connection Pooling

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Guest

Connection Pooling

Post by Guest » Fri 25 Feb 2005 04:00

Dear All,

Environment:
Kylix3
MyDAC 3.00.1.3
Mysql 4.0.21 / RH 9

I have read about some issues regarding multi threaded applications, and the solution as I understood was to create a seperate TMyConnection in each thread. To prevent unnecessary load on the server upon connecting / disconnecting the solution then was to use Connection Pooling. Sounds great, but I just can't get it work properly. I have Pooling set to True, protocol set to mpMemory and Direct set to False. (As I understood from this forum) When issuing MyConnection.Connect an exception arise---> "EAssertionFailed, Assertion failure (/home/Ikar/projects/Dac/Source/CRConnectionPool.pas, line 276)"

Anything more I'm missing here?

Thanks in advance for Your help.

Best regards,

Eivind


Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Fri 25 Feb 2005 15:52

Thank you for information.
It's known problem and we've already fixed it.
Please download the last MyDAC version (3.50.0.17).

Post Reply