<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Native mysql connector extension fails to be loaded"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=107579#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Native mysql connector extension fails to be loaded"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=107579">bug 107579</a>
from <span class="vcard"><a class="email" href="mailto:iplaw67@tuta.io" title="Alex Thurgood <iplaw67@tuta.io>"> <span class="fn">Alex Thurgood</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>