diff options
Diffstat (limited to 'odb/mysql/transaction-impl.hxx')
-rw-r--r-- | odb/mysql/transaction-impl.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/odb/mysql/transaction-impl.hxx b/odb/mysql/transaction-impl.hxx index a8aa491..db87147 100644 --- a/odb/mysql/transaction-impl.hxx +++ b/odb/mysql/transaction-impl.hxx @@ -23,19 +23,20 @@ namespace odb { class LIBODB_MYSQL_EXPORT transaction_impl: public odb::transaction_impl { - protected: - friend class connection; - friend class transaction; - + public: typedef mysql::database database_type; typedef mysql::connection connection_type; + transaction_impl (database_type&); transaction_impl (connection_ptr); virtual ~transaction_impl (); virtual void + start (); + + virtual void commit (); virtual void |