Commit 10faf55c authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

Revert "add stem_word() UDF in MariaDB."

This reverts commit b3c5f181.
parent f1ad5efb
...@@ -74,14 +74,3 @@ environment = ...@@ -74,14 +74,3 @@ environment =
CPPFLAGS=-I${groonga:location}/include/groonga -I${pcre:location}/include CPPFLAGS=-I${groonga:location}/include/groonga -I${pcre:location}/include
LDFLAGS=-L${groonga:location}/lib LDFLAGS=-L${groonga:location}/lib
PKG_CONFIG_PATH=${groonga:location}/lib/pkgconfig:${groonga-normalizer-mysql:location}/lib/pkgconfig PKG_CONFIG_PATH=${groonga:location}/lib/pkgconfig:${groonga-normalizer-mysql:location}/lib/pkgconfig
[lib_mysqludf_stem-mariadb]
recipe = slapos.recipe.cmmi
url = https://lab.nexedi.com/nexedi/lib_mysqludf_stem/repository/archive.tar.bz2?ref=31c59cb4b35acae73e9eaef680e5fce5e0a45ced
md5sum = b36083e5ae9796f569b1b8f7265c7391
pre-configure = ./autogen.sh
configure-options =
--with-mysql=${mariadb:location}/bin/mysql_config
environment =
PATH=${autoconf:location}/bin:${automake:location}/bin:${libtool:location}/bin:%(PATH)s
ACLOCAL_PATH=${libtool:location}/share/aclocal
...@@ -72,7 +72,6 @@ parts += ...@@ -72,7 +72,6 @@ parts +=
poppler poppler
libpng libpng
ghostscript ghostscript
lib_mysqludf_stem-mariadb
mroonga-mariadb mroonga-mariadb
imagemagick imagemagick
inkscape inkscape
...@@ -186,7 +185,7 @@ md5sum = dd779e54d22105702aa72cadc994d957 ...@@ -186,7 +185,7 @@ md5sum = dd779e54d22105702aa72cadc994d957
[template-mariadb-initial-setup] [template-mariadb-initial-setup]
<= download-base <= download-base
filename = mariadb_initial_setup.sql.in filename = mariadb_initial_setup.sql.in
md5sum = 6e018690909e9c833ed8745bb03b1d73 md5sum = b8d2d9af0c4cab45c8337aeac28d5fae
[template-create-erp5-site] [template-create-erp5-site]
<= download-base <= download-base
......
USE mysql; USE mysql;
DROP FUNCTION IF EXISTS lib_mysqludf_stem_info;
DROP FUNCTION IF EXISTS stem_word;
CREATE FUNCTION lib_mysqludf_stem_info RETURNS STRING SONAME 'lib_mysqludf_stem.so';
CREATE FUNCTION stem_word RETURNS STRING SONAME 'lib_mysqludf_stem.so';
DROP FUNCTION IF EXISTS last_insert_grn_id; DROP FUNCTION IF EXISTS last_insert_grn_id;
{% set mroonga = parameter_dict.get('mroonga', 'ha_mroonga.so') -%} {% set mroonga = parameter_dict.get('mroonga', 'ha_mroonga.so') -%}
{% if mroonga %}CREATE FUNCTION last_insert_grn_id RETURNS INTEGER SONAME '{{ mroonga }}';{% endif %} {% if mroonga %}CREATE FUNCTION last_insert_grn_id RETURNS INTEGER SONAME '{{ mroonga }}';{% endif %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment