summaryrefslogtreecommitdiff
path: root/libodbcpp/connection.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-09-13 19:57:25 +0000
committerrandomdan <randomdan@localhost>2010-09-13 19:57:25 +0000
commit95bc5ac789c2f29220f76c94fc93d6379dcd00c6 (patch)
tree2af19c25a48dfb13b2db681544ad6fa82407c567 /libodbcpp/connection.h
parentUse the right header for BUFSIZ (diff)
downloadlibdbpp-odbc-95bc5ac789c2f29220f76c94fc93d6379dcd00c6.tar.bz2
libdbpp-odbc-95bc5ac789c2f29220f76c94fc93d6379dcd00c6.tar.xz
libdbpp-odbc-95bc5ac789c2f29220f76c94fc93d6379dcd00c6.zip
Remove duplication in ODBC::Connection constructors
Remove pointless specialisation on _Column for strings Set cursor type to scrollable (required to refetch a row) Resize binds if fetched data is truncated Support scrolling fetch (default is old 'next record' behaviour)
Diffstat (limited to 'libodbcpp/connection.h')
-rw-r--r--libodbcpp/connection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libodbcpp/connection.h b/libodbcpp/connection.h
index 0d2e9d4..86ff7d8 100644
--- a/libodbcpp/connection.h
+++ b/libodbcpp/connection.h
@@ -24,6 +24,8 @@ namespace ODBC {
SQLINTEGER getAttrInt(SQLINTEGER) const;
private:
+ void connectPre();
+ void connectPost();
mutable unsigned int txDepth;
mutable bool txAborted;
};