Bug #95198 add explicit dependency on mysys for gcs unit tests
Submitted: 30 Apr 2019 8:46 Modified: 2 May 2019 13:35
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.17 OS:Any
Assigned to: CPU Architecture:Any

[30 Apr 2019 8:46] Tor Didriksen
Description:
The patch for 
    Bug#29505781 LIBMYSQLD DEPENDS TWICE ON LIBSQL_MAIN AND LIBSQL_GIS
exposed missing dependencies for gcs unit tests.

plugin/group_replication/libmysqlgcs/src/interface/gcs_logging_system.cc:406: error: undefined reference to 'my_create(char const*, int, int, int)'

How to repeat:
cmake -DWITH_GCS_TESTS_EXTRA=1 -DWITH_GCS_JAVA_WRAPPER=1 

Suggested fix:
Add explicit dependency on mysys on all test executables.
[2 May 2019 13:35] Paul DuBois
Posted by developer:
 
Fixed in 8.0.18.

Work was done for test suite. No changelog entry required.