mysql 执行多线程临时方案
sqr::IDatabase *db=NULL;
IDbConnection *conn = NULL;
int main(int argc, char* argv[]) {
db = GetDatabase();
conn =db->CreateConnection();
conn->execute();//
conn->Release();
db->Release();
}
知识就是希望
sqr::IDatabase *db=NULL;
IDbConnection *conn = NULL;
int main(int argc, char* argv[]) {
db = GetDatabase();
conn =db->CreateConnection();
conn->execute();//
conn->Release();
db->Release();
}