[Libreoffice-bugs] [Bug 52310] Calling Relations tool with LO Base and mysql native connector appears to freeze LO pushing user to force kill the app
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Sep 24 15:52:31 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=52310
Julien Nabet <serval2412 at yahoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lionel at mamane.lu,
| |serval2412 at yahoo.fr
--- Comment #19 from Julien Nabet <serval2412 at yahoo.fr> ---
On pc Debian x86-64 with master sources updated 2 days ago, I could open the
relationship part but I noticed this on console:
warn:legacy.osl:3698:3698:connectivity/source/commontools/dbmetadata.cxx:332:
DBG_UNHANDLED_EXCEPTION in bool dbtools::DatabaseMetaData::supportsRelations()
const
type: com.sun.star.sdbc.SQLException
message: supportsIntegrityEnhancementFacility: feature not implemented.
context: N12connectivity6mysqlc17ODatabaseMetaDataE
Here is the path:
1) bool DatabaseMetaData::supportsRelations() const
https://opengrok.libreoffice.org/xref/core/connectivity/source/commontools/dbmetadata.cxx#322
2) sal_Bool SAL_CALL ODatabaseMetaData::supportsIntegrityEnhancementFacility()
https://opengrok.libreoffice.org/xref/core/mysqlc/source/mysqlc_databasemetadata.cxx#395
3) mysql-connector-cpp/driver/mysql_metadata.cpp
bool
MySQL_ConnectionMetaData::supportsIntegrityEnhancementFacility()
{
CPP_ENTER("MySQL_ConnectionMetaData::supportsIntegrityEnhancementFacility");
throw
sql::MethodNotImplementedException("MySQL_ConnectionMetaData::supportsIntegrityEnhancementFacility");
return false; // This will shut up compilers
}
I don't know if mariadb c connector implements this or not but it seems that
we'll be stuck at least until we upgrade mysql c++ connector or patch it
locally.
Lionel: I tried to search a newer mysql c++ connector on Oracle website (+ a
free account), I found 1.1.9 but https://dev.mysql.com/downloads/connector/cpp/
provides a tar with only include files.
--
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/20170924/4bf4de1f/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list