summaryrefslogtreecommitdiff
path: root/src/dpl/db/include/dpl/db/sql_connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dpl/db/include/dpl/db/sql_connection.h')
-rw-r--r--src/dpl/db/include/dpl/db/sql_connection.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/dpl/db/include/dpl/db/sql_connection.h b/src/dpl/db/include/dpl/db/sql_connection.h
index 07cfe13..321372b 100644
--- a/src/dpl/db/include/dpl/db/sql_connection.h
+++ b/src/dpl/db/include/dpl/db/sql_connection.h
@@ -33,7 +33,7 @@
#include <memory>
#include <stdint.h>
-#include <log.h>
+#include <cchecker/log.h>
namespace CCHECKER {
namespace DB {
@@ -486,6 +486,12 @@ class SqlConnection
* @return Row ID
*/
RowID GetLastInsertRowID() const;
+
+ void BeginTransaction();
+
+ void RollbackTransaction();
+
+ void CommitTransaction();
};
} // namespace DB
} // namespace CCHECKER