Bug#58953: 5.5 does not build with -DWITHOUT_PERFSCHEMA_STORAGE_ENGINE=1

The MYSQL_LOG::open member function does not take a PSI
key file argument when the PSI interface is not present.
This commit is contained in:
Davi Arnaut 2010-12-15 20:38:43 -02:00
parent 81605310fd
commit eb5a21dd90

View File

@ -2981,7 +2981,10 @@ bool MYSQL_BIN_LOG::open(const char *log_name,
write_error= 0;
/* open the main log file */
if (MYSQL_LOG::open(key_file_binlog,
if (MYSQL_LOG::open(
#ifdef HAVE_PSI_INTERFACE
key_file_binlog,
#endif
log_name, log_type_arg, new_name, io_cache_type_arg))
{
#ifdef HAVE_REPLICATION