summaryrefslogtreecommitdiff
path: root/libodbcpp/connection.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2008-11-13 14:45:11 +0000
committerrandomdan <randomdan@localhost>2008-11-13 14:45:11 +0000
commitefd292508070835781a0d92448a3661279dfd307 (patch)
tree0d2592bacfdb0cd159ebc5780dd69f86cc893af0 /libodbcpp/connection.h
parentFix the C++ template errors (diff)
downloadlibdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.tar.bz2
libdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.tar.xz
libdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.zip
Lots of little fixes
Diffstat (limited to 'libodbcpp/connection.h')
-rw-r--r--libodbcpp/connection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libodbcpp/connection.h b/libodbcpp/connection.h
index 8593e82..a2a99cf 100644
--- a/libodbcpp/connection.h
+++ b/libodbcpp/connection.h
@@ -5,9 +5,10 @@
#include <sql.h>
namespace ODBC {
- class Connection : private DSN {
+ class Connection {
public:
Connection(const DSN& d);
+ Connection(const String& str);
~Connection();
SQLHENV env;
SQLHDBC conn;