diff --git a/rdbms/wrapper/MysqlConn.cpp b/rdbms/wrapper/MysqlConn.cpp index 188ecc28b56c9dd645ab49158eb6e2e018d034d9..89572b3e957beec9eb54d08cc99df3c47297b65d 100644 --- a/rdbms/wrapper/MysqlConn.cpp +++ b/rdbms/wrapper/MysqlConn.cpp @@ -61,7 +61,7 @@ MysqlConn::MysqlConn(const std::string& host, if (mysql_real_connect(m_mysqlConn, host.c_str(), user.c_str(), passwd.c_str(), db.c_str(), port, - NULL, 0) == NULL) { + NULL, CLIENT_FOUND_ROWS) == NULL) { unsigned int rc = mysql_errno(m_mysqlConn); std::string msg = mysql_error(m_mysqlConn); throw exception::Exception(std::string(" errno: ") + std::to_string(rc) + " " + msg);