List:MySQL++« Previous MessageNext Message »
From:Bill K Date:June 21 2006 4:23am
Subject:Query Object Memory Leak?
View as plain text  
Hello,

I am developing code that needs to create query objects often. There 
seems to be a memory leak - memory not being released by the query 
object when it goes out of scope. Is this a known issue, or am I missing 
something? I have tried this with VC7.1 and VC8.

code to recreate problem:

// Begin Code
mysqlpp::Connection conn = new mysqlpp::Connection();
for(int i=0; i <1000000; i++)
{
    mysqlpp::Query myQuery = conn.query();
}
// End Code


Thanks!

- Bill K.
Thread
CLIENT_FOUND_ROWSKevin Regan20 Jun
  • Query Object Memory Leak?Bill K21 Jun
  • Re: CLIENT_FOUND_ROWSWarren Young21 Jun