aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/oracle/common.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/oracle/common.cxx')
-rw-r--r--odb/relational/oracle/common.cxx18
1 files changed, 12 insertions, 6 deletions
diff --git a/odb/relational/oracle/common.cxx b/odb/relational/oracle/common.cxx
index 04bb0f8..b1f5398 100644
--- a/odb/relational/oracle/common.cxx
+++ b/odb/relational/oracle/common.cxx
@@ -405,23 +405,29 @@ namespace relational
struct query_columns: relational::query_columns, context
{
- query_columns (base const& x): base (x) {}
+ query_columns (base const& x): base_impl (x) {}
- virtual void
- column_ctor (string const& type, string const& base)
+ void
+ column_ctor (string const& type, string const& name, string const& base)
{
- os << type << " (const char* t," << endl
+ os << name << " (";
+
+ if (multi_dynamic)
+ os << "odb::query_column< " << type << " >& qc," << endl;
+
+ os << "const char* t," << endl
<< "const char* c," << endl
<< "const char* conv," << endl
<< "unsigned short p = 0xFFF," << endl
<< "short s = 0xFFF)" << endl
- << " : " << base << " (t, c, conv, p, s)"
+ << " : " << base << " (" << (multi_dynamic ? "qc, " : "") <<
+ "t, c, conv, p, s)"
<< "{"
<< "}";
}
virtual void
- column_ctor_extra (semantics::data_member& m)
+ column_ctor_args_extra (semantics::data_member& m)
{
// For some types we need to pass precision and scale.
//