MySQL 4.0.17, Visual C++ .NET & compiling against mysqlclient.lib
Quick n dirty:
MYSQL sql;
mysql_init(&sql);
mysql_real_connect(&sql, ..);
mysql_close(&sql);
This causes a memory leak (with or without mysql_thread_end).. Any ideas, workarounds or fixes?
Also see which is pretty much the same.
Quick n dirty:
MYSQL sql;
mysql_init(&sql);
mysql_real_connect(&sql, ..);
mysql_close(&sql);
This causes a memory leak (with or without mysql_thread_end).. Any ideas, workarounds or fixes?
Also see which is pretty much the same.