git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@637
cb58f699-b61c-0410-a6fe-
9272a202ed29
void ShibMySQLCCache::thread_init()
{
- saml::NDC ndc("open_db");
+ saml::NDC ndc("thread_init");
// Connect to the database
MYSQL* mysql = mysql_init(NULL);
void ShibMySQLCCache::cleanup()
{
Mutex* mutex = Mutex::create();
- saml::NDC ndc("mysql::cleanup()");
+ saml::NDC ndc("mysql::cleanup");
thread_init();
mysql_free_result(rows);
}
+ log->debug("cleanup thread exiting...");
+
mutex->unlock();
delete mutex;
thread_end();