aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/model.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-01-22 14:37:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-01-22 14:37:10 +0200
commit36863f5f31c202e45c8a406a321deb8d237cbc14 (patch)
tree73ddb6aa8d7d5c5ae3a4d0b47a7e9415b6787359 /odb/relational/model.hxx
parent823ec53170fa7092bb0b88db13a3c5e64bf14159 (diff)
Add support for warning about SQL name truncations in Oracle
Also detect and issue diagnostics when such truncations lead to name conflicts.
Diffstat (limited to 'odb/relational/model.hxx')
-rw-r--r--odb/relational/model.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/relational/model.hxx b/odb/relational/model.hxx
index bb83e02..9b53104 100644
--- a/odb/relational/model.hxx
+++ b/odb/relational/model.hxx
@@ -618,7 +618,7 @@ namespace relational
{
in = &model_.new_node<sema_rel::index> (
id + ".id", sin->type, sin->method, sin->options);
- in->set ("cxx-location", sin->loc);
+ in->set ("cxx-location", location (sin->loc));
}
else
{
@@ -675,7 +675,7 @@ namespace relational
{
in = &model_.new_node<sema_rel::index> (
id + ".index", sin->type, sin->method, sin->options);
- in->set ("cxx-location", sin->loc);
+ in->set ("cxx-location", location (sin->loc));
}
else
{