aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-26 13:01:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-26 13:01:18 +0200
commitf3776e01fb5cc2d6fc1dd244ce2acf97691542ae (patch)
tree9188e38290932b9b9b772aa5c98a31acf1372114
parente17a24c4056ae335def31e60e40865ff8b1d2202 (diff)
Fix a typo
-rw-r--r--odb/tracer/transaction-impl.cxx8
-rw-r--r--odb/tracer/transaction-impl.hxx2
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_;
};
}
}