From 36863f5f31c202e45c8a406a321deb8d237cbc14 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 22 Jan 2015 14:37:10 +0200 Subject: Add support for warning about SQL name truncations in Oracle Also detect and issue diagnostics when such truncations lead to name conflicts. --- odb/relational/model.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb/relational/model.hxx') 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 ( 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 ( id + ".index", sin->type, sin->method, sin->options); - in->set ("cxx-location", sin->loc); + in->set ("cxx-location", location (sin->loc)); } else { -- cgit v1.1