summaryrefslogtreecommitdiff
path: root/libodbcpp/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'libodbcpp/connection.h')
-rw-r--r--libodbcpp/connection.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libodbcpp/connection.h b/libodbcpp/connection.h
index d5adb31..8593e82 100644
--- a/libodbcpp/connection.h
+++ b/libodbcpp/connection.h
@@ -11,6 +11,15 @@ namespace ODBC {
~Connection();
SQLHENV env;
SQLHDBC conn;
+
+ int beginTx();
+ int commitTx();
+ int rollbackTx();
+ void abortTx() const;
+ bool txIsAborted() const;
+ private:
+ mutable unsigned int txDepth;
+ mutable bool txAborted;
};
}