Kaydet (Commit) 2d134a5f authored tarafından Andrzej J.R. Hunt's avatar Andrzej J.R. Hunt

sqltype indicates isNullable. (firebird-sdbc)

Change-Id: I1cf454847f7dc83195596b7274f4fa2c434fcc69
üst f98a193a
...@@ -184,7 +184,7 @@ sal_Int32 SAL_CALL OResultSetMetaData::getScale(sal_Int32 column) ...@@ -184,7 +184,7 @@ sal_Int32 SAL_CALL OResultSetMetaData::getScale(sal_Int32 column)
sal_Int32 SAL_CALL OResultSetMetaData::isNullable(sal_Int32 column) sal_Int32 SAL_CALL OResultSetMetaData::isNullable(sal_Int32 column)
throw(SQLException, RuntimeException) throw(SQLException, RuntimeException)
{ {
if (*m_pSqlda->sqlvar[column-1].sqlind & 1) if (m_pSqlda->sqlvar[column-1].sqltype & 1)
return ColumnValue::NULLABLE; return ColumnValue::NULLABLE;
else else
return ColumnValue::NO_NULLS; return ColumnValue::NO_NULLS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment