Why mysql_init(nullptr) leads to segmentation fault in the following code?

后端 未结 0 556
温柔的废话
温柔的废话 2021-01-30 04:01

My code is as follow:

main.cc
int main(void){
    int port, sqlPort, ConnectionNum, threadNum;
    string sqlUser, sqlPwd, DBName;
    try{
        Config Setting         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题