Kaydet (Commit) 580f4d14 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

fdo#35784 minimal fix

Fake DatabaseMetaData::getImportedKeys: we can get away with not giving column names if we give zero data rows
üst 1b66f428
......@@ -1995,12 +1995,9 @@ static void addPrivilegesToVector(
// makeAny( resolveColumnNames(foreignMap, xRow->getString(8) ) ) );
// }
// fake the getImportedKey() function call in
// dbaccess/source/ui/relationdesign/RelationController.cxx
// it seems to be the only place in the office, where this function is needed
// LEM TODO: Well, used elsewhere now and breaks things. Fix it.
// LEM TODO: full "real" implementation
return new SequenceResultSet(
m_refMutex, *this, Sequence< OUString >(), Sequence< Sequence< Any > > (1), m_pSettings->tc );
m_refMutex, *this, Sequence< OUString >(), Sequence< Sequence< Any > > (), m_pSettings->tc );
}
::com::sun::star::uno::Reference< XResultSet > DatabaseMetaData::getExportedKeys(
......
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