summaryrefslogtreecommitdiff
path: root/odb
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-10-26 17:17:24 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-10-26 17:17:24 +0200
commit052a3490fcac31243cc355ac58d719d644d3deaa (patch)
tree1301b48c59608fb8f1c82dc293ff40897e7b760d /odb
parent66cfedecb3f7fe7d0fa7495d7ea8fea094a1d89c (diff)
Do not use TRUE and FALSE boolean literals in Oracle
Diffstat (limited to 'odb')
-rw-r--r--odb/relational/oracle/model.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/relational/oracle/model.cxx b/odb/relational/oracle/model.cxx
index a71d351..f09a711 100644
--- a/odb/relational/oracle/model.cxx
+++ b/odb/relational/oracle/model.cxx
@@ -30,7 +30,7 @@ namespace relational
// Oracle seems to have the TRUE and FALSE literals, though no
// boolean type.
//
- return v ? "TRUE" : "FALSE";
+ return v ? "1" : "0";
}
virtual string