[Libreoffice-bugs] [Bug 116936] Firebird SDBC should implement XRowUpdate interface

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 13 10:08:47 UTC 2019


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

--- Comment #13 from Julien Nabet <serval2412 at yahoo.fr> ---
(In reply to Lionel Elie Mamane from comment #9)
> It should be ThisDatabaseDocument everywhere, without ().
> 
> For the read-only thing, btomi96?

Typing this on windbg:
bp `resultset.cxx:987`
then launching the test again, Windbg stops.
Calling callstack gives:
dbalo!dbaccess::OResultSet::checkReadOnly+0x46
dbalo!dbaccess::OResultSet::updateString+0x70
mscx_uno!`anonymous namespace'::cpp_call+0xcf7
mscx_uno!unoInterfaceProxyDispatch+0x47e
reflectionlo!stoc_corefl::IdlInterfaceMethodImpl::invoke+0xbe2
sblo!SbUnoObject::Notify+0x12b3
svllo!SfxBroadcaster::Broadcast+0xb0
sblo!SbxVariable::Broadcast+0x1b5
sblo!SbxValue::SbxValue+0x1a3

982  void OResultSet::checkReadOnly() const
983  {
984      if  (   ( m_nResultSetConcurrency == ResultSetConcurrency::READ_ONLY )
985          ||  !m_xDelegatorResultSetUpdate.is()
986          )
987          throwSQLException( "The result set is read-only.",
StandardSQLState::GENERAL_ERROR, *const_cast< OResultSet* >( this ) );
988  }
and indeed Firebird contains:
m_nResultSetConcurrency(css::sdbc::ResultSetConcurrency::READ_ONLY)
See
https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/firebird/ResultSet.cxx?r=d4ef035e#68

I'll investigate this after mid-day break.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190913/09242f08/attachment.html>


More information about the Libreoffice-bugs mailing list