diff options
-rw-r--r-- | odb/tracer/transaction-impl.cxx | 8 | ||||
-rw-r--r-- | odb/tracer/transaction-impl.hxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/odb/tracer/transaction-impl.cxx b/odb/tracer/transaction-impl.cxx index d003fcb..84c1e52 100644 --- a/odb/tracer/transaction-impl.cxx +++ b/odb/tracer/transaction-impl.cxx @@ -17,7 +17,7 @@ namespace odb { transaction_impl:: transaction_impl (database_type& db) - : odb::transaction_impl (db), finilized_ (false) + : odb::transaction_impl (db), finalized_ (false) { cout << "begin transaction" << endl; } @@ -25,7 +25,7 @@ namespace odb transaction_impl:: ~transaction_impl () { - if (!finilized_) + if (!finalized_) cout << "end transaction without commit/rollback" << endl; } @@ -33,14 +33,14 @@ namespace odb commit () { cout << "commit transaction" << endl; - finilized_ = true; + finalized_ = true; } void transaction_impl:: rollback () { cout << "rollback transaction" << endl; - finilized_ = true; + finalized_ = true; } } } diff --git a/odb/tracer/transaction-impl.hxx b/odb/tracer/transaction-impl.hxx index ec14373..1156f42 100644 --- a/odb/tracer/transaction-impl.hxx +++ b/odb/tracer/transaction-impl.hxx @@ -39,7 +39,7 @@ namespace odb rollback (); private: - bool finilized_; + bool finalized_; }; } } |