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.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libodbcpp/command.h') diff --git a/libodbcpp/command.h b/libodbcpp/command.h index 8e59c76..55e6703 100644 --- a/libodbcpp/command.h +++ b/libodbcpp/command.h @@ -15,6 +15,8 @@ namespace ODBC { void bindParamI(unsigned int i, int val); void bindParamI(unsigned int i, unsigned int val); + void bindParamI(unsigned int i, long unsigned int val); + void bindParamI(unsigned int i, long long unsigned int val); void bindParamF(unsigned int i, double val); void bindParamF(unsigned int i, float val); void bindParamS(unsigned int i, const char *); @@ -28,6 +30,7 @@ namespace ODBC { const String sql; protected: SQLHSTMT hStmt; + const Connection& connection; private: Params params; }; -- cgit v1.2.3