summaryrefslogtreecommitdiff
path: root/odb/relational/mssql/common.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/mssql/common.cxx')
-rw-r--r--odb/relational/mssql/common.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/odb/relational/mssql/common.cxx b/odb/relational/mssql/common.cxx
index 3112c2d..3f5cf74 100644
--- a/odb/relational/mssql/common.cxx
+++ b/odb/relational/mssql/common.cxx
@@ -551,6 +551,18 @@ namespace relational
}
virtual void
+ column_ctor (string const& type, string const& base)
+ {
+ os << type << " (const char* t," << endl
+ << "const char* c," << endl
+ << "unsigned short p = 0," << endl
+ << "unsigned short s = 0xFFFF)" << endl
+ << " : " << base << " (t, c, p, s)"
+ << "{"
+ << "}";
+ }
+
+ virtual void
column_ctor_extra (semantics::data_member& m)
{
// For some types we need to pass precision and scale.