summaryrefslogtreecommitdiff
path: root/libodbcpp/connection.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-02-17 20:42:53 +0000
committerrandomdan <randomdan@localhost>2011-02-17 20:42:53 +0000
commite960e424ae4b8e5a9387760c2d2e5475167b18d8 (patch)
tree2be0e276c10f95b04edbf975b076afeec848313e /libodbcpp/connection.h
parentFix the case when a bound buffer is too small and it's reported as success wi... (diff)
downloadlibdbpp-odbc-e960e424ae4b8e5a9387760c2d2e5475167b18d8.tar.bz2
libdbpp-odbc-e960e424ae4b8e5a9387760c2d2e5475167b18d8.tar.xz
libdbpp-odbc-e960e424ae4b8e5a9387760c2d2e5475167b18d8.zip
Add check function for when a connection is finished with, but you don't want to close it
Use prepared statements only for modifications, use fetch instead for selects (doesn't load an entire record set) Support varchar oid
Diffstat (limited to 'libodbcpp/connection.h')
-rw-r--r--libodbcpp/connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libodbcpp/connection.h b/libodbcpp/connection.h
index 4fc52ca..0e507bd 100644
--- a/libodbcpp/connection.h
+++ b/libodbcpp/connection.h
@@ -16,6 +16,7 @@ namespace ODBC {
SQLHENV env;
SQLHDBC conn;
+ void finish() const;
int beginTx() const;
int commitTx() const;
int rollbackTx() const;