[Libreoffice-bugs] [Bug 107579] Native mysql connector extension fails to be loaded
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed May 3 10:01:12 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=107579
--- Comment #6 from Alex Thurgood <iplaw67 at tuta.io> ---
My understanding of this block
void MysqlCDriver::impl_initCppConn_lck_throw()
107 {
108 #ifdef SYSTEM_MYSQL_CPPCONN
109 cppDriver = get_driver_instance();
110 #else
111 #ifdef BUNDLE_MARIADB
112 if ( !m_bAttemptedLoadCConn )
113 {
114 const rtl::OUString sModuleName(BUNDLE_MARIADB);
115 m_hCConnModule = osl_loadModuleRelative( &thisModule,
sModuleName.pData, 0 );
116 m_bAttemptedLoadCConn = true;
117 }
118
119 // attempted to load - was it successful?
120 if ( !m_hCConnModule )
121 {
122 OSL_FAIL( "MysqlCDriver::impl_initCppConn_lck_throw: could not
load the " BUNDLE_MARIADB " library!");
123 throw SQLException(
124 "Unable to load the " BUNDLE_MARIADB " library.",
125 *this,
126 rtl::OUString( "08001" ), // "unable to connect"
127 0,
128 Any()
129 );
is that it checks for the BUNDLE MARIADB directive from autogen.sh input and if
it finds it, then loads the corresponding library. I don't know why it isn't
doing this in current master builds.
--
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/20170503/1a6e919b/attachment.html>
More information about the Libreoffice-bugs
mailing list