From d0406a26fa4e66c579c9efe89668d56fb4f1618e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 26 Jan 2012 12:43:14 +0200 Subject: 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. --- odb/mysql/query.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/odb/mysql/query.cxx b/odb/mysql/query.cxx index fec8031..b82b1ac 100644 --- a/odb/mysql/query.cxx +++ b/odb/mysql/query.cxx @@ -111,11 +111,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)); } -- cgit v1.1