diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-07-04 12:39:48 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-07-04 12:39:48 +0100 |
commit | 7d8dae0ec07f35fd0c0a67d39bb31e3f9513ad91 (patch) | |
tree | 129c6cd2ccf4a95fd8064c06426440f3be0c29a2 /lib/input/mysqlConn.h | |
parent | Split MySQLRecordSet data away from interface (diff) | |
download | mygrate-7d8dae0ec07f35fd0c0a67d39bb31e3f9513ad91.tar.bz2 mygrate-7d8dae0ec07f35fd0c0a67d39bb31e3f9513ad91.tar.xz mygrate-7d8dae0ec07f35fd0c0a67d39bb31e3f9513ad91.zip |
Get mysql statement errors from the statement, not connection
Diffstat (limited to 'lib/input/mysqlConn.h')
-rw-r--r-- | lib/input/mysqlConn.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |