c++ - Is db_query thread safe? -
i working mysql in c++. had issue before mysql_query() not beingness thread safe (http://dev.mysql.com/doc/refman/5.1/en/c-api-threaded-clients.html.) db_query() different or rules in first bullet point doc linked apply db_query() too? assume operate same, want create sure isn't different , end unlocking mutex or leave locked longer necessary. sorry couldn't find documentation on issue db_query().
thanks.
sorry everyone, didn't realize db_query() imported file. i'm still learning code base of operations :/ no wonder couldn't find documentation on it! sorry whomever's time wasted.
...and isn't thread safe. wrapper mysql_query() doh xd
c++ mysql
No comments:
Post a Comment