From fa54d73a59a87902a0054d12fa684197b1939b19 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 8 May 2015 09:24:31 +0200 Subject: Fix Boolean value operations (css.sdbc.ColumnValue.NULLABLE happens to be 1, so the odd comparison is harmless and redundant.) Change-Id: I6b64cc083e72198c71e4e38ec4347f79af924621 --- connectivity/source/drivers/firebird/Connection.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/firebird/Connection.cxx b/connectivity/source/drivers/firebird/Connection.cxx index 1c8a26a849ed..11042c6fbd7b 100644 --- a/connectivity/source/drivers/firebird/Connection.cxx +++ b/connectivity/source/drivers/firebird/Connection.cxx @@ -729,7 +729,7 @@ void Connection::buildTypeInfo() throw( SQLException) aInfo.aLiteralPrefix = xRow->getString (4); aInfo.aLiteralSuffix = xRow->getString (5); aInfo.aCreateParams = xRow->getString (6); - aInfo.bNullable = xRow->getBoolean (7) == ColumnValue::NULLABLE; + aInfo.bNullable = xRow->getBoolean (7); aInfo.bCaseSensitive = xRow->getBoolean (8); aInfo.nSearchType = xRow->getShort (9); aInfo.bUnsigned = xRow->getBoolean (10); -- cgit