aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/source.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-09-06 08:58:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-09-06 08:58:56 +0200
commit1a4a5134f848404cb6ade9ae384704cea1c95742 (patch)
treeeb3a0bc18172298337aea15331bb453611cc9001 /odb/relational/source.cxx
parent654826cdafaac4199c8a8c90ef3396e312f0944f (diff)
Rename flags for clarity
Diffstat (limited to 'odb/relational/source.cxx')
-rw-r--r--odb/relational/source.cxx9
1 files changed, 4 insertions, 5 deletions
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