From 61840ee570192f3e18e52e4a16dcfd51f181ea44 Mon Sep 17 00:00:00 2001
From: Michal Schorm <mschorm@redhat.com>
Date: Thu, 8 Jun 2017 09:23:53 +0200
Subject: [PATCH] Fixed incorrect Jemalloc initialization   #1459671

---
 mariadb.spec               | 7 +++++--
 rh-skipped-tests-base.list | 3 ++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/mariadb.spec b/mariadb.spec
index efc5761..9139722 100644
--- a/mariadb.spec
+++ b/mariadb.spec
@@ -122,7 +122,7 @@
 
 Name:             mariadb
 Version:          %{compatver}.%{bugfixver}
-Release:          1%{?with_debug:.debug}%{?dist}
+Release:          2%{?with_debug:.debug}%{?dist}
 Epoch:            3
 
 Summary:          A community developed branch of MySQL
@@ -727,7 +727,7 @@ export LDFLAGS
          -DWITH_SSL=system \
          -DWITH_ZLIB=system \
 %{?with_pcre: -DWITH_PCRE=system}\
-         -DWITH_JEMALLOC=ON \
+         -DWITH_JEMALLOC=system \
 %{!?with_tokudb: -DWITHOUT_TOKUDB=ON}\
 %{!?with_mroonga: -DWITHOUT_MROONGA=ON}\
 %{!?with_oqgraph: -DWITHOUT_OQGRAPH=ON}\
@@ -1402,6 +1402,9 @@ fi
 %endif
 
 %changelog
+* Wed Jun 07 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.24-2
+- Fixed incorrect Jemalloc initialization; #1459671
+
 * Fri Jun 02 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.24-1
 - Rebase to 10.1.24
 - Build dependecies Bison and Libarchive added, others corrected
diff --git a/rh-skipped-tests-base.list b/rh-skipped-tests-base.list
index 48fb42b..edb74a6 100644
--- a/rh-skipped-tests-base.list
+++ b/rh-skipped-tests-base.list
@@ -68,4 +68,5 @@ spider.ha                                    :
 spider.ha_part                               :
 spider.vp_fixes                              :
 
-
+# Tests failing on PPC
+parts.partition_alter4_innodb                :