diff options
Diffstat (limited to 'libodbcpp/connection.h')
-rw-r--r-- | libodbcpp/connection.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libodbcpp/connection.h b/libodbcpp/connection.h index a2a99cf..5fdce9e 100644 --- a/libodbcpp/connection.h +++ b/libodbcpp/connection.h @@ -13,11 +13,12 @@ namespace ODBC { SQLHENV env; SQLHDBC conn; - int beginTx(); - int commitTx(); - int rollbackTx(); + int beginTx() const; + int commitTx() const; + int rollbackTx() const; void abortTx() const; bool txIsAborted() const; + bool inTx() const; private: mutable unsigned int txDepth; mutable bool txAborted; |