From bcb41ec5c264862e1b70b295e8bb8cee546591a5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 12 Jan 2012 09:11:37 +0200 Subject: 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. --- odb/relational/mssql/model.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'odb') 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. -- cgit v1.1