Link against Connector-C.
Now, qc_mysqlembedded is linked against MySQL's embedded library, and MaxScale itself against Connector-C. So, in order to build MaxScale, Connector-C must be installed. This has been tested with Connector-C 2.2.1. The build variable MYSQLCLIENT_LIBRARIES is no longer used.
This commit is contained in:
@ -507,15 +507,7 @@ static void libmysqld_done(void)
|
||||
{
|
||||
if (libmysqld_started)
|
||||
{
|
||||
// TODO: qc_end() (if qc_mysqlembedded is used) also calls mysql_library_end(),
|
||||
// TODO: which refers to the mysql_library_end() in the embedded library. This
|
||||
// TODO: one would call the mysql_library_end() in the client library. It seems
|
||||
// TODO: that would work, but for the fact that both de-initialize some lower
|
||||
// TODO: level library, which in turn does not work. Thus, for the time being
|
||||
// TODO: this call is not made.
|
||||
// TODO: Linking MaxScale with Connector-C would likely make this problem
|
||||
// TODO: go away.
|
||||
//mysql_library_end();
|
||||
mysql_library_end();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user