summaryrefslogtreecommitdiff
path: root/lib/input
diff options
context:
space:
mode:
Diffstat (limited to 'lib/input')
-rw-r--r--lib/input/mysqlConn.cpp1
-rw-r--r--lib/input/mysqlConn.h4
-rw-r--r--lib/input/mysqlStmt.h4
3 files changed, 6 insertions, 3 deletions
diff --git a/lib/input/mysqlConn.cpp b/lib/input/mysqlConn.cpp
index 46ed7c6..4899deb 100644
--- a/lib/input/mysqlConn.cpp
+++ b/lib/input/mysqlConn.cpp
@@ -4,7 +4,6 @@
#include <cstddef>
#include <cstring>
#include <dbConn.h>
-#include <dbTypes.h>
#include <helpers.h>
#include <memory>
#include <mysql.h>
diff --git a/lib/input/mysqlConn.h b/lib/input/mysqlConn.h
index 29a34db..db30ff0 100644
--- a/lib/input/mysqlConn.h
+++ b/lib/input/mysqlConn.h
@@ -3,10 +3,12 @@
#include <cstddef>
#include <dbConn.h>
-#include <dbTypes.h>
#include <initializer_list>
#include <mysql.h>
+namespace MyGrate {
+ class DbValue;
+}
namespace MyGrate::Input {
class MySQLConn : public MYSQL, public DbConn {
public:
diff --git a/lib/input/mysqlStmt.h b/lib/input/mysqlStmt.h
index a42e0db..69e62d4 100644
--- a/lib/input/mysqlStmt.h
+++ b/lib/input/mysqlStmt.h
@@ -3,12 +3,14 @@
#include "dbConn.h"
#include "dbRecordSet.h"
-#include "dbTypes.h"
#include <cstddef>
#include <initializer_list>
#include <memory>
#include <mysql.h>
+namespace MyGrate {
+ class DbValue;
+}
namespace MyGrate::Input {
using StmtPtr = std::unique_ptr<MYSQL_STMT, decltype(&mysql_stmt_close)>;