This patch fixes the issue when mysql fails with segfault
due to binlog structures being non-initialized with '-1'
used as a array index of structures with binlog configuration
Change-Id: Ib3e2ed88bd3169c6df303df52e26ffa35e47d5ee
Original-author: Dmitry Bilunov <dbilunov@mirantis.com>
Closes-bug:
1541338
+mysql-wsrep-5.6 (5.6.23-1~u14.04+mos2) mos9.0; urgency=medium
+
+ * Temporary fix for LP Bug 1541338
+
+ -- Dmitry Bilunov <dbilunov@mirantis.com> Wed, 23 Mar 2016 13:54:00 +0300
+
mysql-wsrep-5.6 (5.6.23-1~u14.04+mos1) mos7.0; urgency=medium
* Update to MySQL 5.6.23:
--- /dev/null
+diff --git a/sql/sql_class.cc b/mysql-wsrep-5.6/sql/sql_class.cc
+index 79d56ad..ac55818 100644
+--- a/sql/sql_class.cc
++++ b/sql/sql_class.cc
+@@ -665,6 +665,7 @@ void thd_storage_lock_wait(THD *thd, long long value)
+ extern "C"
+ void *thd_get_ha_data(const THD *thd, const struct handlerton *hton)
+ {
++ if (hton->slot == -1) return NULL;
+ return *thd_ha_data(thd, hton);
+ }
spelling.patch
mysql-5.6.23_wsrep_25.10.patch
wsrep_sst_mysqldump.patch
+mysql1541338.patch