summaryrefslogtreecommitdiff
path: root/libodbcpp/command.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2006-09-21 23:14:28 +0000
committerrandomdan <randomdan@localhost>2006-09-21 23:14:28 +0000
commit951e67b64812128249f572b60e7ca012bad28bfc (patch)
tree85b64c53883077e9ec11fe442ba60ee76d1a5431 /libodbcpp/command.h
parentlibcodbcpp initial release (diff)
downloadlibdbpp-odbc-951e67b64812128249f572b60e7ca012bad28bfc.tar.bz2
libdbpp-odbc-951e67b64812128249f572b60e7ca012bad28bfc.tar.xz
libdbpp-odbc-951e67b64812128249f572b60e7ca012bad28bfc.zip
Fix the C++ template errors
Add some half decent transaction support Change the error handling to not 'handle' _with_info
Diffstat (limited to 'libodbcpp/command.h')
-rw-r--r--libodbcpp/command.h3
1 files changed, 3 insertions, 0 deletions
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;
};