fdo#35784 minimal fix
Fake DatabaseMetaData::getImportedKeys: we can get away with not giving column names if we give zero data rows
This commit is contained in:
parent
1b66f42870
commit
580f4d1453
1 changed files with 2 additions and 5 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue