c++ - my_thread_global_end threads didn't exit, error? -


i using mysql c++ connector (1.0.5) , moved get_driver_instance() , connect() methods secondary thread getting below error.

error in my_thread_global_end(): 1 threads didn't exit

after googling found mysql thread isn't exiting. there method in c++ wrapper cleanup?

after googling came know mysql_thread_end() solve problem. way linking against libmysqlclient.a included mysql.h file , called mysql_thread_end before exiting secondary thread, problem solved.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -