diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-10-17 16:20:19 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-10-17 16:20:19 +0200 |
commit | a1c600098413725540e2219369dab3134e19920a (patch) | |
tree | 7ea8e8f4a0232ce6f126b0d33e696afcca27cd4f /connectivity/source | |
parent | 080e9c298738988f36df43b8edd7b6e7bf4224cf (diff) |
per SQL standard, BIT is 0/1 but BOOLEAN is true/false
Change-Id: If088cd33c19bccddbf145a44d19bf37adf638f3b
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/commontools/FValue.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx index 46fe62fdc3d5..0a4a88002f83 100644 --- a/connectivity/source/commontools/FValue.cxx +++ b/connectivity/source/commontools/FValue.cxx @@ -1021,6 +1021,8 @@ OUString ORowSetValue::getString( ) const } break; case DataType::BIT: + aRet = OUString::number(static_cast<bool>(*this)); + break; case DataType::BOOLEAN: aRet = OUString::boolean(static_cast<bool>(*this)); break; |