Kaydet (Commit) 84e3c5ac authored tarafından Julien Nabet's avatar Julien Nabet

Related fdo#87789: groups should appear like views and not like tables

Change-Id: I4f8d7e2bec006e6d0a0041e2145aa0920f64aa57
üst ff2990fd
......@@ -106,8 +106,15 @@ bool MDatabaseMetaDataHelper::getTables( OConnection* _pCon,
SAL_INFO("connectivity.mork", "TableName: " << aTableName);
aRow.push_back( new ORowSetValueDecorator( aTableName ) ); // Table name
aRow.push_back( new ORowSetValueDecorator( OUString("TABLE") ) ); // Table type
aRow.push_back( new ORowSetValueDecorator( aTableName ) ); // Table/View name
if ((aTableName == "AddressBook") || (aTableName == "CollectedAddressBook"))
{
aRow.push_back( new ORowSetValueDecorator( OUString("TABLE") ) ); // Table type
}
else
{
aRow.push_back( new ORowSetValueDecorator( OUString("VIEW") ) ); // View type
}
aRow.push_back( ODatabaseMetaDataResultSet::getEmptyValue() ); // Remarks
aRows.push_back(aRow);
}
......
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