summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-07-22 14:54:39 +0200
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-07-22 18:03:27 +0200
commit2d134a5fbc925fa73f32f406d3c268c22d4d92ac (patch)
tree2dd45b6d636f37956eae992785cd355257c19253 /connectivity
parentf98a193a187ef72e7b2e81b95c82186bc6912ab6 (diff)
sqltype indicates isNullable. (firebird-sdbc)
Change-Id: I1cf454847f7dc83195596b7274f4fa2c434fcc69
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/firebird/FResultSetMetaData.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/firebird/FResultSetMetaData.cxx b/connectivity/source/drivers/firebird/FResultSetMetaData.cxx
index 266664e386c2..578a08167464 100644
--- a/connectivity/source/drivers/firebird/FResultSetMetaData.cxx
+++ b/connectivity/source/drivers/firebird/FResultSetMetaData.cxx
@@ -184,7 +184,7 @@ sal_Int32 SAL_CALL OResultSetMetaData::getScale(sal_Int32 column)
sal_Int32 SAL_CALL OResultSetMetaData::isNullable(sal_Int32 column)
throw(SQLException, RuntimeException)
{
- if (*m_pSqlda->sqlvar[column-1].sqlind & 1)
+ if (m_pSqlda->sqlvar[column-1].sqltype & 1)
return ColumnValue::NULLABLE;
else
return ColumnValue::NO_NULLS;