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/context.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'odb/context.cxx') diff --git a/odb/context.cxx b/odb/context.cxx index dfd75f6..4af13b7 100644 --- a/odb/context.cxx +++ b/odb/context.cxx @@ -617,6 +617,7 @@ context (ostream& os_, features_type& f, data_ptr d) : data_ (d ? d : data_ptr (new (shared) data (os_))), + extra (data_->extra_), os (data_->os_), unit (u), options (ops), @@ -727,6 +728,7 @@ context (ostream& os_, context:: context () : data_ (current ().data_), + extra (current ().extra), os (current ().os), unit (current ().unit), options (current ().options), -- cgit v1.1