[Libreoffice-bugs] [Bug 119694] HSQLDB driver not loading causes BASE error in embedded hsqldb database

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Sep 5 12:15:23 UTC 2018


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

--- Comment #23 from Julien Nabet <serval2412 at yahoo.fr> ---
I'm not sure since I'm not at home with my laptop but it seems the line is
generated here:
https://opengrok.libreoffice.org/xref/core/dbaccess/source/filter/xml/xmlExport.cxx#636

632              else
633              {
634                  AddAttribute(XML_NAMESPACE_XLINK, XML_HREF,sValue);
635                  AddAttribute(XML_NAMESPACE_XLINK, XML_TYPE, XML_SIMPLE);
636                  SvXMLElementExport aElem(*this,XML_NAMESPACE_DB,
XML_CONNECTION_RESOURCE, true, true);
637              }

Looking at the if:
597             
m_aTypeCollection.extractHostNamePort(sValue,sDatabaseName,sHostName,nPort);
598              if ( sHostName.getLength() )
which leads there
https://opengrok.libreoffice.org/xref/core/dbaccess/source/core/misc/dsntypes.cxx#198
and seeing history of this file, we may find something interesting.

Of course, the best would be to add some traces on sValue and other vars like
sDatabaseName and above all sHostname.

-- 
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/20180905/2c3c0dde/attachment.html>


More information about the Libreoffice-bugs mailing list