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

--- Comment #11 from Julien Nabet <serval2...@yahoo.fr> ---
There are quite weird things I don't understand.
Eg:
1) in ODriverDelegator::getDataDefinitionByConnection (see
https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/hsqldb/HDriver.cxx?r=0193b284#466)
with 7.6, I can see m_aConnections[0] directly on gdb
with master branch, gdb tells:
Could not find operator[].

2) same file but in ODriverDelegator::connect (see
https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/hsqldb/HDriver.cxx?r=0193b284#349)

ptype xOrig indicates:
type = class com::sun::star::uno::Reference<com::sun::star::sdbc::XConnection>
[with interface_type = com::sun::star::sdbc::XConnection] : public
com::sun::star::uno::BaseReference
for 7.6 and master => OK

but
a) once we did this line:
  349  Reference<XConnection> xOrig;

 in master
 "p xOrig" indicates empty uno::Reference

 in 7.6
 "p xOrig" indicates $1 = {<com::sun::star::uno::BaseReference> = {_pInterface
= 0x0}, <No data fields>}

b) after 350:
  in master
  p xOrig indicates :
  $30 = uno::Reference to (com::sun::star::uno::XInterface *) 0x55fac13a8f88

  in 7.6
  $2 = {<com::sun::star::uno::BaseReference> = {_pInterface = 0x5595fbc36ba8}, 
 <No data fields>}

That's why ODriverDelegator::getDataDefinitionByConnection fails to find the
connection in m_aConnections and that brings all the error messages indicates
and finally the lacking option "Primary Key".

Now it's a mess to find out what causes this difference, I made a diff between
quite a lot of files between 7.6 and master, can't find the culprit for the
moment.

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

Reply via email to