[MDEV-21450] ha_connect.so plugin broken Created: 2020-01-09 Updated: 2020-01-13 Resolved: 2020-01-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Connect |
| Affects Version/s: | 10.2.30, 10.3.21, 10.4.11 |
| Fix Version/s: | 10.2.31, 10.3.22, 10.4.12 |
| Type: | Bug | Priority: | Major |
| Reporter: | Michal Schorm | Assignee: | Olivier Bertrand |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | CONNECT, Connect-Engine, connect, connect-engine | ||
| Environment: |
Fedora |
||
| Description |
|
Hello, The Connect SE plugin can't be used after compilation. Previous 10.3 & 10.4 versions are not affected. The issue must have been introduced in those affected versions. Sample from the error log:
Result after running "mysql"
Also, the whole Connect testsuite fail on all affected versions: — I won't introduce the new versions to Fedora without a fix. |
| Comments |
| Comment by Michal Schorm [ 2020-01-09 ] |
|
May |
| Comment by Olivier Bertrand [ 2020-01-09 ] |
|
Are you compiling MariaDB from source? There seem to be a problem with the XML package. This new version did not change anything for the XML table type. |
| Comment by Michal Schorm [ 2020-01-09 ] |
|
As a source, I use tarballs, accessible via .tar.gz |
| Comment by Michal Schorm [ 2020-01-09 ] |
|
To be exact - I'm the maintainer of MariaDB & MySQL packages in Fedora project - I build the Mariadb this way as usual. You can check the source I use here: The 10.3.21 version is not pushed (obviously - I'm working on getting it working & pushed ) |
| Comment by Michal Schorm [ 2020-01-09 ] |
|
> This new version did not change anything for the XML table type. So now I'm pretty confident, it's on "your" side. |
| Comment by Olivier Bertrand [ 2020-01-09 ] |
|
I think I know what happened. The new version adds a new table type TABREST that unconditionnaly can call the XML table type. If you don't have the libxml2 package installed, then the XML table type is not generated and the XMLDEF class is not there (_ZN6XMLDEFC1Ev is probably the mangled name of the C++ class XMLDEF). The bug is that this call should be conditionnal. Two turnaround:
|
| Comment by Michal Schorm [ 2020-01-10 ] |
|
Thanks! Adding "libxml2-devel" as a BuildRequires solved the issue. |