summaryrefslogtreecommitdiff
path: root/libodbcpp/connection.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-07-05 15:13:40 +0000
committerrandomdan <randomdan@localhost>2010-07-05 15:13:40 +0000
commit033b3a170b6007e2b954940fb4f4779e50cee012 (patch)
tree3a120822928c3230cca52dea5922cc26a29c2ea5 /libodbcpp/connection.h
parentUse cgicc, add checks, tasks, dynamic loader, atom feed, login page (diff)
downloadlibdbpp-odbc-033b3a170b6007e2b954940fb4f4779e50cee012.tar.bz2
libdbpp-odbc-033b3a170b6007e2b954940fb4f4779e50cee012.tar.xz
libdbpp-odbc-033b3a170b6007e2b954940fb4f4779e50cee012.zip
Implement connection caching and checking (requires ODBCv3 driver)
Implement preferLocal DB access
Diffstat (limited to 'libodbcpp/connection.h')
-rw-r--r--libodbcpp/connection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libodbcpp/connection.h b/libodbcpp/connection.h
index b89a5f9..82caf22 100644
--- a/libodbcpp/connection.h
+++ b/libodbcpp/connection.h
@@ -19,6 +19,9 @@ namespace ODBC {
void abortTx() const;
bool txIsAborted() const;
bool inTx() const;
+ std::string getAttrStr(SQLINTEGER) const;
+ SQLINTEGER getAttrInt(SQLINTEGER) const;
+
private:
mutable unsigned int txDepth;
mutable bool txAborted;