diff options
Diffstat (limited to 'base/mysql.hh')
-rw-r--r-- | base/mysql.hh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/base/mysql.hh b/base/mysql.hh index b2e87dcbd..e16558dd3 100644 --- a/base/mysql.hh +++ b/base/mysql.hh @@ -185,6 +185,24 @@ class Connection return query(sql.str()); } + bool + autocommit(bool mode) + { + return mysql_autocommit(&mysql, mode); + } + + bool + commit() + { + return mysql_commit(&mysql); + } + + bool + rollback() + { + return mysql_rollback(&mysql); + } + unsigned field_count() { |