summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/relational/oracle/context.cxx11
-rw-r--r--odb/relational/oracle/context.hxx4
2 files changed, 15 insertions, 0 deletions
diff --git a/odb/relational/oracle/context.cxx b/odb/relational/oracle/context.cxx
index 0128c94..236c725 100644
--- a/odb/relational/oracle/context.cxx
+++ b/odb/relational/oracle/context.cxx
@@ -100,6 +100,17 @@ namespace relational
}
string context::
+ quote_id_impl (string const& id) const
+ {
+ string r;
+ r.reserve (32);
+ r += '"';
+ r.append (id, 0, 30);
+ r += '"';
+ return r;
+ }
+
+ string context::
database_type_impl (semantics::type& t, semantics::names* hint, bool id)
{
string r (base_context::database_type_impl (t, hint, id));
diff --git a/odb/relational/oracle/context.hxx b/odb/relational/oracle/context.hxx
index b884c41..d334f56 100644
--- a/odb/relational/oracle/context.hxx
+++ b/odb/relational/oracle/context.hxx
@@ -79,6 +79,10 @@ namespace relational
protected:
virtual string
+ quote_id_impl (string const&) const;
+
+ protected:
+ virtual string
database_type_impl (semantics::type&, semantics::names*, bool);
public: