diff options
Diffstat (limited to 'lib/input/mysqlConn.h')
-rw-r--r-- | lib/input/mysqlConn.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/input/mysqlConn.h b/lib/input/mysqlConn.h index d779fd1..dfb408f 100644 --- a/lib/input/mysqlConn.h +++ b/lib/input/mysqlConn.h @@ -19,7 +19,10 @@ namespace MyGrate::Input { public: static constexpr auto paramMode {ParamMode::QMark}; - MySQLConn(const char * const host, const char * const user, const char * const pass, unsigned short port); + MySQLConn(const char * const host, const char * const user, const char * const pass, unsigned short port, + const char * const db = ""); + MySQLConn(const MySQLConn &) = delete; + MySQLConn(MySQLConn &&) = delete; ~MySQLConn(); void query(const char * const) override; |