Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » [BUG] Memory leak in MySql package
Re: [BUG] Memory leak in MySql package [message #39714 is a reply to message #39611] Fri, 19 April 2013 16:12 Go to previous messageGo to previous message
Alboni is currently offline  Alboni
Messages: 216
Registered: January 2012
Location: Kajaani, Finland
Experienced Member
Hi Klugier,
How did you diagnose the leak?


As I read it:

mysql_library_end() should be called after the last session close. Not after each session close.

I cannot find any mysql_library_init() call anywhere in Upp.
(Yet still it works)

I need to conclude that these calls are made in DllMain() of MySql.dll when loading and unloading the dll.

Doing it explicitly is imho only relevant for programs that statically link MySql (wich Upp does not).
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Reason why session does not connect
Next Topic: Sql(SqlSession& session) problem
Goto Forum:
  


Current Time: Tue Jul 15 08:17:46 CEST 2025

Total time taken to generate the page: 0.02948 seconds