summaryrefslogtreecommitdiff
path: root/storage/tokudb/tokudb.cnf.in
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-05-16 11:15:08 +0200
committerSergei Golubchik <serg@mariadb.org>2018-05-16 23:24:14 +0200
commitbb045e7931c451b228ffc5bcdb1791a31eb0c852 (patch)
tree26690cc2c2ba0bf0af4881c0218f338de606c4b0 /storage/tokudb/tokudb.cnf.in
parentcb21e117baba0e2007b9863d0916df6dd2863d38 (diff)
downloadmariadb-git-bb045e7931c451b228ffc5bcdb1791a31eb0c852.tar.gz
MDEV-16183 TokuDB tests fail on Fedora 28mariadb-10.2.15
jemalloc > 5.0.0 doesn't like to be linked with a dlopen-ed module. Don't link tokudb with jemalloc on Fedora 28, LD_PRELOAD it instead with mysqld_safe and with systemd.
Diffstat (limited to 'storage/tokudb/tokudb.cnf.in')
-rw-r--r--storage/tokudb/tokudb.cnf.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/storage/tokudb/tokudb.cnf.in b/storage/tokudb/tokudb.cnf.in
new file mode 100644
index 00000000000..de9b5b711ee
--- /dev/null
+++ b/storage/tokudb/tokudb.cnf.in
@@ -0,0 +1,9 @@
+[mariadb]
+# See https://mariadb.com/kb/en/tokudb-differences/ for differences
+# between TokuDB in MariaDB and TokuDB from http://www.tokutek.com/
+
+plugin-load-add=ha_tokudb.so
+
+[mysqld_safe]
+# it might be necessary to uncomment the following line if jemalloc >= 5.0.0
+@cnf_malloc_lib@