From 13894aed81e673f0478c99a1c1ef1838e15e59e8 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Tue, 8 Nov 2011 13:17:12 +0100
Subject: [PATCH] use XtraDB instead of the original InnoDB plugin, and enable
 Sphinx and groonga storage engines.

---
 slapos/recipe/erp5/template/my.cnf.in  | 2 +-
 slapos/recipe/lamp/template/my.cnf.in  | 2 +-
 slapos/recipe/mysql/template/my.cnf.in | 2 +-
 slapos/recipe/xwiki/template/my.cnf.in | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/slapos/recipe/erp5/template/my.cnf.in b/slapos/recipe/erp5/template/my.cnf.in
index 666896980..956995739 100644
--- a/slapos/recipe/erp5/template/my.cnf.in
+++ b/slapos/recipe/erp5/template/my.cnf.in
@@ -21,7 +21,7 @@ long_query_time = 5
 max_allowed_packet = 128M
 query_cache_size = 32M
 
-plugin-load = ha_innodb_plugin.so
+plugin-load = ha_groonga.so;ha_sphinx.so;ha_xtradb.so
 
 # By default only 100 connections are allowed, when using zeo
 # we may have much more connections
diff --git a/slapos/recipe/lamp/template/my.cnf.in b/slapos/recipe/lamp/template/my.cnf.in
index 511aabe96..103531697 100644
--- a/slapos/recipe/lamp/template/my.cnf.in
+++ b/slapos/recipe/lamp/template/my.cnf.in
@@ -21,7 +21,7 @@ long_query_time = 5
 max_allowed_packet = 128M
 query_cache_size = 32M
 
-plugin-load = ha_innodb_plugin.so
+plugin-load = ha_groonga.so;ha_sphinx.so;ha_xtradb.so
 
 # The following are important to configure and depend a lot on to the size of
 # your database and the available resources.
diff --git a/slapos/recipe/mysql/template/my.cnf.in b/slapos/recipe/mysql/template/my.cnf.in
index 511aabe96..103531697 100644
--- a/slapos/recipe/mysql/template/my.cnf.in
+++ b/slapos/recipe/mysql/template/my.cnf.in
@@ -21,7 +21,7 @@ long_query_time = 5
 max_allowed_packet = 128M
 query_cache_size = 32M
 
-plugin-load = ha_innodb_plugin.so
+plugin-load = ha_groonga.so;ha_sphinx.so;ha_xtradb.so
 
 # The following are important to configure and depend a lot on to the size of
 # your database and the available resources.
diff --git a/slapos/recipe/xwiki/template/my.cnf.in b/slapos/recipe/xwiki/template/my.cnf.in
index 511aabe96..103531697 100644
--- a/slapos/recipe/xwiki/template/my.cnf.in
+++ b/slapos/recipe/xwiki/template/my.cnf.in
@@ -21,7 +21,7 @@ long_query_time = 5
 max_allowed_packet = 128M
 query_cache_size = 32M
 
-plugin-load = ha_innodb_plugin.so
+plugin-load = ha_groonga.so;ha_sphinx.so;ha_xtradb.so
 
 # The following are important to configure and depend a lot on to the size of
 # your database and the available resources.
-- 
2.30.9