diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-26 12:43:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-26 12:43:16 +0200 |
commit | 38ef4886294282f8efe8225d74fd56279656bedb (patch) | |
tree | 587428c47d499b0d17c6983242f5e09448904b35 | |
parent | ef197e44b5963a258e4a386bf38187611b9fea13 (diff) |
Implement support for database schema
New pragma qualifier: namespace. New pragma specifier: schema. The table
specifier was extended to accept a schema prefix. New option: --default-
schema. The common/schema test was extended to cover the new functionality.
-rw-r--r-- | odb/oracle/query.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/odb/oracle/query.cxx b/odb/oracle/query.cxx index f561a63..b49a007 100644 --- a/odb/oracle/query.cxx +++ b/odb/oracle/query.cxx @@ -112,11 +112,9 @@ namespace odb void query:: append (const char* table, const char* column) { - string s ("\""); - s += table; - s += "\".\""; + string s (table); + s += '.'; s += column; - s += '\"'; clause_.push_back (clause_part (clause_part::column, s)); } |