summaryrefslogtreecommitdiffstats
path: root/databases/mariadb102-server/files/patch-sql_slave.cc
blob: a5c8d66496501195efc017e38d723bd359bb8862 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- sql/slave.cc.orig	2017-05-14 23:13:18 UTC
+++ sql/slave.cc
@@ -14,6 +14,11 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA */
 
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
+#define ERR_remove_state(X)
+#elif defined(HAVE_ERR_remove_thread_state)
+#define ERR_remove_state(X) ERR_remove_thread_state(NULL)
+#endif
 
 /**
   @addtogroup Replication
OpenPOWER on IntegriCloud