From 7d8dae0ec07f35fd0c0a67d39bb31e3f9513ad91 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 4 Jul 2021 12:39:48 +0100 Subject: Get mysql statement errors from the statement, not connection --- lib/input/mysqlConn.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/input/mysqlConn.h') diff --git a/lib/input/mysqlConn.h b/lib/input/mysqlConn.h index bd53616..3e775c1 100644 --- a/lib/input/mysqlConn.h +++ b/lib/input/mysqlConn.h @@ -13,6 +13,7 @@ namespace MyGrate::Input { class MySQLErr : public std::runtime_error { public: MySQLErr(const std::string & when, MYSQL *); + MySQLErr(const std::string & when, MYSQL_STMT *); }; class MySQLConn : public MYSQL, public DbConn { -- cgit v1.2.3