Bug #80476 mysql_bin_log variable has not been exported

Submitted: 23 Feb 2016 10:52 Modified: 12 May 2016 10:17
Reporter: 尚 矢口 Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:5.6 OS:Windows
Assigned to: CPU Architecture:Any
Tags: export, mysql_bin_log, windows

[23 Feb 2016 10:52] 尚 矢口
Description:
mysql_bin_log variables in sql/binlog.h, it is defined as 
"extern MYSQL_PLUGIN_IMPORT MYSQL_BIN_LOG mysql_bin_log". 
However, mysqld.exe does not export it.

On windows, mysqld.def file the export was defined, it has generated by "create_def_file.js" in the "sql/CMakeLists.txt". But, it does not pass the binlog.lib to the script.

It does not work plug-in to handle the binlog in the official distribution binary.

How to repeat:
For example, using the "dependency walker(depends.exe)" will examine the variables and functions that mysqld.exe is exporting.

Suggested fix:
sql/CMakeLists.txt

-FOREACH (CORELIB sql mysys mysys_ssl dbug strings)
+FOREACH (CORELIB sql mysys mysys_ssl dbug strings binlog)
[4 Mar 2016 5:17] 尚 矢口
Removed Version 5.7
[12 May 2016 10:17] MySQL Verification Team
Hello!

Thank you for the report and feedback!

Thanks,
Umesh

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.