UnloadEmbLibraryOnDisconnect does not unload lib

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
a.alekizoglou
Posts: 32
Joined: Fri 22 Sep 2006 08:32

UnloadEmbLibraryOnDisconnect does not unload lib

Post by a.alekizoglou » Wed 27 Nov 2013 14:55

Even though UnloadEmbLibraryOnDisconnect is used in latest UniDAC regarding MySQL Embedded server unloading after all connections have been disconnected, it does not automatically unload the library.

Thought if I explicitly call MyAPIEmbedded.FreeMySQLLib it does unload the embedded library. But it does not release the MySQL .err file therefore the directory cannot be manipulated unless I close down the application.

Note: MySQL 5.6.10 embedded library used

AndreyZ

Re: UnloadEmbLibraryOnDisconnect does not unload lib

Post by AndreyZ » Thu 28 Nov 2013 15:52

Thank you for the information. I have reproduced the problem with the UnloadEmbLibraryOnDisconnect global variable and fixed it. This fix will be included in the next UniDAC build.

Concerning the .err file. This file must be released by MySQL Embedded when we free its library, but it does not do it. You can write about this problem to the MySQL support.

Post Reply