summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-03-25 20:58:31 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-03-25 20:58:31 +0000
commit6053af848688aa24421a4309eacf6f8b9817c24e (patch)
tree7f3cf54e5a843e71a4366ea5f36cc16baf2e5c88 /eclass
parentAdd 195.36.15. (diff)
downloadgentoo-2-6053af848688aa24421a4309eacf6f8b9817c24e.tar.gz
gentoo-2-6053af848688aa24421a4309eacf6f8b9817c24e.tar.bz2
gentoo-2-6053af848688aa24421a4309eacf6f8b9817c24e.zip
Bug #310787: If a user has default-storage-engine in their config, we need to override it during setup to create the internal mysql tables safely.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mysql.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass
index 01b86e8a168b..36044d4dca8a 100644
--- a/eclass/mysql.eclass
+++ b/eclass/mysql.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.142 2010/03/24 20:37:54 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.143 2010/03/25 20:58:31 robbat2 Exp $
# @ECLASS: mysql.eclass
# @MAINTAINER:
@@ -1200,6 +1200,7 @@ mysql_pkg_config() {
--datadir=${ROOT}/${MY_DATADIR} \
--max_allowed_packet=8M \
--net_buffer_length=16K \
+ --default-storage-engine=MyISAM \
--socket=${socket} \
--pid-file=${pidfile}"
#einfo "About to start mysqld: ${mysqld}"