From 951e67b64812128249f572b60e7ca012bad28bfc Mon Sep 17 00:00:00 2001 From: randomdan Date: Thu, 21 Sep 2006 23:14:28 +0000 Subject: Fix the C++ template errors Add some half decent transaction support Change the error handling to not 'handle' _with_info --- libodbcpp/command.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libodbcpp/command.cpp') diff --git a/libodbcpp/command.cpp b/libodbcpp/command.cpp index 6c8bf3c..217954e 100644 --- a/libodbcpp/command.cpp +++ b/libodbcpp/command.cpp @@ -4,7 +4,8 @@ #include ODBC::Command::Command(const Connection& c, String s) : - sql(s) + sql(s), + connection(c) { RETCODE rc = SQLAllocHandle(SQL_HANDLE_STMT, c.conn, &hStmt); if (rc != SQL_SUCCESS) { -- cgit v1.2.3