From 1a4a5134f848404cb6ade9ae384704cea1c95742 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 6 Sep 2013 08:58:56 +0200 Subject: Rename flags for clarity --- odb/relational/source.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'odb/relational/source.cxx') diff --git a/odb/relational/source.cxx b/odb/relational/source.cxx index 93b1035..796fc13 100644 --- a/odb/relational/source.cxx +++ b/odb/relational/source.cxx @@ -562,7 +562,8 @@ traverse_object (type& c) << "{"; for (size_t i (0), n (uss.count (user_sections::count_total | - user_sections::count_all)); + user_sections::count_all | + user_sections::count_special_version)); i != n; ++i) { os << (i != 0 ? "," : "") << "{"; @@ -1140,8 +1141,7 @@ traverse_object (type& c) if (versioned || persist_versioned_containers || uss.count (user_sections::count_new | - user_sections::count_update | - user_sections::count_update_empty | + user_sections::count_all | user_sections::count_versioned_only) != 0) os << "const schema_version_migration& svm (" << "db.schema_version_migration (" << schema_name << "));"; @@ -3392,8 +3392,7 @@ traverse_object (type& c) if (!versioned && ( load_versioned_containers || uss.count (user_sections::count_new | - user_sections::count_load | - user_sections::count_load_empty | + user_sections::count_all | user_sections::count_versioned_only) != 0)) { os << "const schema_version_migration& svm (" << endl -- cgit v1.1