Kaydet (Commit) 062c3afd authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

tdf#90614 oups... I was too eager in replacing getAny() with makeAny()

also handle the SQLNULL case

Change-Id: Ie7fffd6b46ed8b3dfa7231928f55743f71d2ea98
üst ed3c6958
......@@ -885,6 +885,9 @@ Any ORowSetValue::makeAny() const
{
switch(getTypeKind())
{
case DataType::SQLNULL:
assert(rValue == Any());
break;
case DataType::CHAR:
case DataType::VARCHAR:
case DataType::DECIMAL:
......@@ -964,7 +967,7 @@ Any ORowSetValue::makeAny() const
break;
default:
SAL_WARN( "connectivity.commontools","ORowSetValue::makeAny(): UNSUPPORTED TYPE!");
rValue = makeAny();
rValue = getAny();
break;
}
}
......
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