Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 794217

Summary: dev-db/mariadb does not install ha_connect plug-in
Product: Gentoo Linux Reporter: Stuart Longland <stuartl>
Component: Current packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stuart Longland 2021-06-05 02:37:36 UTC
I have a database schema that relies (for better or worse) on the `ha_connect` plug-in.  This used to be enabled when the `jdbc` and `extraengine` USE-flags were set, but it seems now, no combination triggers installation of this plug-in.

On other distributions, this plug-in is usually shipped separately in a "mariadb-plugin-connect" package.

Reproducible: Always

Steps to Reproduce:
1. USE='jdbc extraengine' emerge dev-db/mariadb
2. find /usr/lib64/mysql/plugin -name ha_connect\*
Actual Results:  
No ha_connect.so listed by `find` command.

Expected Results:  
/usr/lib64/mysql/plugin/ha_connect.so should be listed (and available to use with INSTALL SONAME).

This used to work in MariaDB 10.3, but hasn't worked for some time now.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2021-06-16 23:09:52 UTC
Uhm, there is actually no option "PLUGIN_CONNECT". So if we set it, we are causing the target to be skipped...
Comment 2 Larry the Git Cow gentoo-dev 2021-06-17 13:13:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fd6c9fcc8a51a966a84829ac7175e1d6a8d2097

commit 9fd6c9fcc8a51a966a84829ac7175e1d6a8d2097
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-06-17 11:55:06 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-06-17 13:13:53 +0000

    dev-db/mariadb: install CONNECT storage engine
    
    Closes: https://bugs.gentoo.org/794217
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-db/mariadb/mariadb-10.2.38.ebuild | 10 +++++-----
 dev-db/mariadb/mariadb-10.3.29.ebuild | 10 +++++-----
 dev-db/mariadb/mariadb-10.4.19.ebuild | 10 +++++-----
 dev-db/mariadb/mariadb-10.5.10.ebuild |  7 +++----
 4 files changed, 18 insertions(+), 19 deletions(-)