summaryrefslogtreecommitdiff
path: root/odb/common.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-08-01 11:16:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-08-01 11:16:20 +0200
commit4cde011f27cd406804f05aa8fd1d28ed91a26738 (patch)
treedc202095520894044a93e1ea5b8a9c30e84e4e25 /odb/common.cxx
parent4fcb4ae749b3cf40f24ab1b9ddeb58b3ae0600f7 (diff)
Add support for empty column names in composite value types
Diffstat (limited to 'odb/common.cxx')
-rw-r--r--odb/common.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/odb/common.cxx b/odb/common.cxx
index 81a416b..667afc0 100644
--- a/odb/common.cxx
+++ b/odb/common.cxx
@@ -496,7 +496,9 @@ traverse_member (semantics::data_member& m, semantics::type& t)
}
else
{
- string name (column_prefix_ + column_name (m, key_prefix_, default_name_));
+ string name (
+ compose_name (
+ column_prefix_, column_name (m, key_prefix_, default_name_)));
if (traverse_column (m, name, first_))
{