mysql c api problems
i'm using pthreads on a mysql client app. each pthread opens, accesses and closes its own mysql connection; so there is no sharing of a connection between threads.
in this setup, are there any thread safe issues? do i have to use the thread safe libraries?
the reason i'm asking - yes i'm getting a seg fault. it usually occurs when using mysql_real_connect and mysql_real_query!!
i have no problems when spawning a single pthread. I still get the problem when using the thread safe mysqlclient_r library.