Skip to content

Commit dbe0ae4

Browse files
Bug#25308357: THE CONNECTION CONTROL PLUGIN WILL
NOT COMPILE WITH PERFORMANCE SCHEMA DISABLED Description: This patch resolves a linking issue which caused failure while loading the plugin.
1 parent 1c29634 commit dbe0ae4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sql/mysqld.cc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights
1+
/* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights
22
reserved.
33
44
This program is free software; you can redistribute it and/or modify
@@ -81,7 +81,11 @@
8181

8282
#ifdef WITH_PERFSCHEMA_STORAGE_ENGINE
8383
#include "../storage/perfschema/pfs_server.h"
84+
#else
85+
#include "lf.h"
86+
int dummy_variable_to_pull_in_lf_hash_functions= LF_HASH_OVERHEAD;
8487
#endif /* WITH_PERFSCHEMA_STORAGE_ENGINE */
88+
8589
#include <mysql/psi/mysql_idle.h>
8690
#include <mysql/psi/mysql_socket.h>
8791
#include <mysql/psi/mysql_statement.h>

0 commit comments

Comments
 (0)