aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-01-12 09:11:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-01-20 15:43:45 +0200
commitbcb41ec5c264862e1b70b295e8bb8cee546591a5 (patch)
tree85d122aca1a1b698106d142f7cd8c3983189ec1b
parent8f599302c4982a57bf18f6363df0cf9492feec67 (diff)
Use 1 and 0 instead of TRUE and FALSE as boolean literals in SQL Server
After all, it doesn't seem to have these names.
-rw-r--r--odb/relational/mssql/model.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/odb/relational/mssql/model.cxx b/odb/relational/mssql/model.cxx
index 344eef1..1304afb 100644
--- a/odb/relational/mssql/model.cxx
+++ b/odb/relational/mssql/model.cxx
@@ -25,12 +25,6 @@ namespace relational
object_columns (base const& x): base (x) {}
virtual string
- default_bool (semantics::data_member&, bool v)
- {
- return v ? "TRUE" : "FALSE";
- }
-
- virtual string
default_enum (semantics::data_member& m, tree en, string const&)
{
// Make sure the column is mapped to an integer or DECIMAL type.