diff options
Diffstat (limited to 'lib/input/mysqlConn.cpp')
| -rw-r--r-- | lib/input/mysqlConn.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/input/mysqlConn.cpp b/lib/input/mysqlConn.cpp index 38feb35..6c00628 100644 --- a/lib/input/mysqlConn.cpp +++ b/lib/input/mysqlConn.cpp @@ -2,7 +2,9 @@ #include <stdexcept> namespace MyGrate::Input { - MySQLConn::MySQLConn(const char * const host, const char * const user, const char * const pass, unsigned short port) + MySQLConn::MySQLConn( + const char * const host, const char * const user, const char * const pass, unsigned short port) : + st_mysql {} { mysql_init(this); if (!mysql_real_connect(this, host, user, pass, "", port, nullptr, 0)) { |
