aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/pgsql/source.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-09-16 16:03:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-09-16 16:03:25 +0200
commitb79567fbc72df23f870049652d5f254aba948bea (patch)
tree186168269cf249ce97be89fd02aab4c75e83574c /odb/relational/pgsql/source.cxx
parentd780414989ef7e101cdaf269d4b01003d0721e6a (diff)
Support for views; integrated part
Diffstat (limited to 'odb/relational/pgsql/source.cxx')
-rw-r--r--odb/relational/pgsql/source.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/odb/relational/pgsql/source.cxx b/odb/relational/pgsql/source.cxx
index 28d04e6..dbda7be 100644
--- a/odb/relational/pgsql/source.cxx
+++ b/odb/relational/pgsql/source.cxx
@@ -1019,10 +1019,10 @@ namespace relational
{
os << "sts.connection ()," << endl
<< "query_statement_name," << endl
- << "query_statement + q.clause ()," << endl
- << "q.parameter_types ()," << endl
- << "q.parameter_count ()," << endl
- << "q.parameters_binding ()," << endl
+ << "qs.clause ()," << endl
+ << "qs.parameter_types ()," << endl
+ << "qs.parameter_count ()," << endl
+ << "qs.parameters_binding ()," << endl
<< "imb";
}
@@ -1044,7 +1044,8 @@ namespace relational
if (!object (c_) || abstract (c_))
return;
- string scope (scope_ + "::" + prefix_ + public_name (m) + "_traits");
+ string scope (scope_ + "::" + flat_prefix_ + public_name (m) +
+ "_traits");
// Statment names.
//