summaryrefslogtreecommitdiff
path: root/odb
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-10-27 12:25:14 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-10-27 12:25:14 +0200
commit9d10c570acf1b7e8ed7c0a750ae3edfa70da200b (patch)
treea9f7b2ff378e9ba1697ea95d37fcd00f9f49f263 /odb
parent052a3490fcac31243cc355ac58d719d644d3deaa (diff)
Use default behaviour for Oracle default_bool
Diffstat (limited to 'odb')
-rw-r--r--odb/relational/oracle/model.cxx9
1 files changed, 0 insertions, 9 deletions
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.