File Drop-mysql.conf-option-removed-in-MySQL-5.7.patch of Package akonadi4-runtime

From 9a9f7eaa38023f70c6fa85a87359a487ccf7a48c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Vr=C3=A1til?= <dvratil@kde.org>
Date: Tue, 16 Feb 2016 18:26:22 +0100
Subject: Drop mysql.conf option removed in MySQL 5.7

innodb_additional_mem_pool_size option has been deprecated in MySQL 5.6
and removed in 5.7 so MySQL will no longer start it the option is present
in mysql.conf.

The option still seems to be supported by MariaDB, but the default value
we had in the mysql.conf was below the minimum allowed value, so the harm
in removing the option for MariaDB should be minimal.

If options supported by MySQL and MariaDB begin to diverge more in the future
we might consider having separate config files for each database.
---
 server/src/storage/mysql-global.conf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/server/src/storage/mysql-global.conf b/server/src/storage/mysql-global.conf
index b49f18d..55b667b 100644
--- a/server/src/storage/mysql-global.conf
+++ b/server/src/storage/mysql-global.conf
@@ -37,9 +37,9 @@ collation_server=utf8_general_ci
 # use InnoDB for transactions and better crash recovery
 default_storage_engine=innodb
 
-# memory pool InnoDB uses to store data dictionary information and other internal data structures (default:1M)
-# Deprecated in MySQL >= 5.6.3
-innodb_additional_mem_pool_size=1M
+# memory pool InnoDB uses to store data dictionary information and other internal data structures (default:8M)
+# Deprecated in MySQL >= 5.6.3, removed in 5.7 (works in MariaDB)
+# innodb_additional_mem_pool_size=8M
 
 # memory buffer InnoDB uses to cache data and indexes of its tables (default:128M)
 # Larger values means less I/O
-- 
cgit v1.1

openSUSE Build Service is sponsored by