summaryrefslogtreecommitdiff
path: root/libodbcpp/odbc-connection.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-09-21 17:59:41 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-09-21 17:59:41 +0100
commitb7f71b71224238a8b7bdb76b6feb98db9bac7aa9 (patch)
tree90cc78a11c1590875e922b53855b730e54f1bbab /libodbcpp/odbc-connection.h
parentPass cppcheck and clang-tidy (diff)
downloadlibdbpp-odbc-b7f71b71224238a8b7bdb76b6feb98db9bac7aa9.tar.bz2
libdbpp-odbc-b7f71b71224238a8b7bdb76b6feb98db9bac7aa9.tar.xz
libdbpp-odbc-b7f71b71224238a8b7bdb76b6feb98db9bac7aa9.zip
First commit passing IWYU
Diffstat (limited to 'libodbcpp/odbc-connection.h')
-rw-r--r--libodbcpp/odbc-connection.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libodbcpp/odbc-connection.h b/libodbcpp/odbc-connection.h
index 5031410..26b8619 100644
--- a/libodbcpp/odbc-connection.h
+++ b/libodbcpp/odbc-connection.h
@@ -1,13 +1,14 @@
#ifndef ODBC_CONNECTION_H
#define ODBC_CONNECTION_H
-#include "odbc-dsn.h"
+#include "command_fwd.h"
#include "odbc-error.h"
#include <connection.h>
-#include <error.h>
#include <sql.h>
+#include <string>
namespace ODBC {
+ class DSN;
class ConnectionError : public virtual Error, public virtual DB::ConnectionError {
public:
ConnectionError(RETCODE err, SQLSMALLINT handletype, SQLHANDLE handle);