diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-10-26 17:17:24 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-10-26 17:17:24 +0200 |
commit | 052a3490fcac31243cc355ac58d719d644d3deaa (patch) | |
tree | 1301b48c59608fb8f1c82dc293ff40897e7b760d | |
parent | 66cfedecb3f7fe7d0fa7495d7ea8fea094a1d89c (diff) |
Do not use TRUE and FALSE boolean literals in Oracle
-rw-r--r-- | odb/relational/oracle/model.cxx | 2 |
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 |