From 9d10c570acf1b7e8ed7c0a750ae3edfa70da200b Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Thu, 27 Oct 2011 12:25:14 +0200 Subject: Use default behaviour for Oracle default_bool --- odb/relational/oracle/model.cxx | 9 --------- 1 file changed, 9 deletions(-) (limited to 'odb/relational/oracle/model.cxx') diff --git a/odb/relational/oracle/model.cxx b/odb/relational/oracle/model.cxx index f09a711..ba41889 100644 --- a/odb/relational/oracle/model.cxx +++ b/odb/relational/oracle/model.cxx @@ -25,15 +25,6 @@ namespace relational object_columns (base const& x): base (x) {} virtual string - default_bool (semantics::data_member&, bool v) - { - // Oracle seems to have the TRUE and FALSE literals, though no - // boolean type. - // - return v ? "1" : "0"; - } - - virtual string default_enum (semantics::data_member& m, tree en, string const&) { // Make sure the column is mapped to Oracle NUMBER. -- cgit v1.1