Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stephane VAROQUI
slapos
Commits
b3c5f181
Commit
b3c5f181
authored
9 years ago
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add stem_word() UDF in MariaDB.
parent
cc16d06f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
component/mariadb/buildout.cfg
component/mariadb/buildout.cfg
+11
-0
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+2
-1
stack/erp5/mariadb_initial_setup.sql.in
stack/erp5/mariadb_initial_setup.sql.in
+4
-0
No files found.
component/mariadb/buildout.cfg
View file @
b3c5f181
...
...
@@ -74,3 +74,14 @@ environment =
CPPFLAGS=-I${groonga:location}/include/groonga -I${pcre:location}/include
LDFLAGS=-L${groonga:location}/lib
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
This diff is collapsed.
Click to expand it.
stack/erp5/buildout.cfg
View file @
b3c5f181
...
...
@@ -75,6 +75,7 @@ parts +=
poppler
libpng
ghostscript
lib_mysqludf_stem-mariadb
mroonga-mariadb
imagemagick
inkscape
...
...
@@ -188,7 +189,7 @@ md5sum = dd779e54d22105702aa72cadc994d957
[template-mariadb-initial-setup]
<= download-base
filename = mariadb_initial_setup.sql.in
md5sum =
b8d2d9af0c4cab45c8337aeac28d5fae
md5sum =
6e018690909e9c833ed8745bb03b1d73
[template-create-erp5-site]
<= download-base
...
...
This diff is collapsed.
Click to expand it.
stack/erp5/mariadb_initial_setup.sql.in
View file @
b3c5f181
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;
{% set mroonga = parameter_dict.get('mroonga', 'ha_mroonga.so') -%}
{% if mroonga %}CREATE FUNCTION last_insert_grn_id RETURNS INTEGER SONAME '{{ mroonga }}';{% endif %}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment