summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/relational/processor.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/odb/relational/processor.cxx b/odb/relational/processor.cxx
index c9f2179..1a57205 100644
--- a/odb/relational/processor.cxx
+++ b/odb/relational/processor.cxx
@@ -1159,7 +1159,10 @@ namespace relational
continue;
}
- // Now assign the name if the index is unnamed.
+ // Now assign the name if the index is unnamed. We have to
+ // add table name as a prefix here since there is not way
+ // to distinguish between user-assigned and auto-derived
+ // names in the model.
//
if (in.name.empty ())
{