From 033b3a170b6007e2b954940fb4f4779e50cee012 Mon Sep 17 00:00:00 2001 From: randomdan Date: Mon, 5 Jul 2010 15:13:40 +0000 Subject: Implement connection caching and checking (requires ODBCv3 driver) Implement preferLocal DB access --- libodbcpp/connection.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libodbcpp/connection.h') 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; -- cgit v1.2.3