https://bugs.documentfoundation.org/show_bug.cgi?id=43187

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|Master old  -3.6            |7.3.7.2 release

--- Comment #26 from [email protected] ---
Launching below macro displays False which means there's *privilege stuff*
keeping us from editing table.

Sub Main
dim a,b as object
set a = ThisComponent.CurrentController.ActiveConnection
set b= ThisComponent.DataSource
set c=ThisComponent.CurrentController
print (a.IsreadOnly or b.IsreadOnly)
End Sub


https://github.com/LibreOffice/core/blob/5168d06b1302c43a305d0f670ee65079f21063b5/connectivity/source/drivers/ado/ADatabaseMetaData.cxx#L303-L354

Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTablePrivileges(
    const Any& catalog, const OUString& schemaPattern, const OUString&
tableNamePattern )
{
    Reference< XResultSet > xRef;
HERE -->>    if(!ADOS::isJetEngine(m_pConnection->getEngineType()))

https://github.com/LibreOffice/core/blob/a2c3ef6d8108355ce5daf6ff72310ac93ae745f0/connectivity/source/drivers/ado/adoimp.cxx#L192
As you can see in git blame. "Access 2007 Database" is not considered as Jet
Engine in 2001...... which is false.

This issue would be fixed if you add new jet engine type released after 2001..
Thank you for keeping this issue..

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to