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
Labels
Merge Requests
105
Merge Requests
105
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
b6481107
Commit
b6481107
authored
Aug 14, 2017
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
component/mariadb: version up 10.1.26, including security fixes.
also update groonga 7.0.5 and mroonga-7.05.
parent
427bc523
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
19 deletions
+30
-19
component/groonga/buildout.cfg
component/groonga/buildout.cfg
+2
-2
component/mariadb/1a910088ec55c61434029d8e1cc3c6192ac508d7.diff
...ent/mariadb/1a910088ec55c61434029d8e1cc3c6192ac508d7.diff
+12
-0
component/mariadb/buildout.cfg
component/mariadb/buildout.cfg
+6
-5
component/mariadb/mroonga_boolean.patch
component/mariadb/mroonga_boolean.patch
+10
-12
No files found.
component/groonga/buildout.cfg
View file @
b6481107
...
...
@@ -14,8 +14,8 @@ extends =
[groonga]
recipe = slapos.recipe.cmmi
url = http://packages.groonga.org/source/groonga/groonga-7.0.
4
.tar.gz
md5sum =
90c8ddf58fecdf7dba1a053adc9b9974
url = http://packages.groonga.org/source/groonga/groonga-7.0.
5
.tar.gz
md5sum =
d42dd98c5272ed2b9ab50ded54eb818b
# temporary patch to respect more tokens in natural language mode.
patches =
${:_profile_base_location_}/groonga.patch#9ed02fbe8400402d3eab47eee149978b
...
...
component/mariadb/1a910088ec55c61434029d8e1cc3c6192ac508d7.diff
0 → 100644
View file @
b6481107
diff --git a/mrn_mysql_compat.h b/mrn_mysql_compat.h
index d2b227ff..337de968 100644
--- a/mrn_mysql_compat.h
+++ b/mrn_mysql_compat.h
@@ -362,6 +362,7 @@
#if defined(MRN_MARIADB_P) && \
((MYSQL_VERSION_ID >= 100207) || \
+ ((MYSQL_VERSION_ID >= 100126) && (MYSQL_VERSION_ID < 100200)) || \
((MYSQL_VERSION_ID >= 50557) && (MYSQL_VERSION_ID < 100000)))
# define mrn_create_partition_name(out, \
out_length, \
component/mariadb/buildout.cfg
View file @
b6481107
...
...
@@ -23,8 +23,8 @@ parts =
[mariadb]
recipe = slapos.recipe.cmmi
url = https://downloads.mariadb.org/f/mariadb-10.1.2
5/source/mariadb-10.1.25
.tar.gz/from/http%3A//fr.mirror.babylon.network/mariadb/?serve
md5sum =
6349e524bc449767c4650196d4141a02
url = https://downloads.mariadb.org/f/mariadb-10.1.2
6/source/mariadb-10.1.26
.tar.gz/from/http%3A//fr.mirror.babylon.network/mariadb/?serve
md5sum =
bb88afb72434c6d567c742896dd50d41
patch-options = -p0
patches =
${:_profile_base_location_}/mariadb_10.1.21_create_system_tables__no_test.patch#3c76aa9564a162f13aced7c0a3f783b3
...
...
@@ -73,8 +73,8 @@ post-install =
# mroonga - a storage engine for MySQL. It provides fast fulltext search feature to all MySQL users.
# http://mroonga.github.com/
recipe = slapos.recipe.cmmi
url = http://packages.groonga.org/source/mroonga/mroonga-7.0
4
.tar.gz
md5sum =
1d889cdd0e4f3ac0a84d18d16ab920d
6
url = http://packages.groonga.org/source/mroonga/mroonga-7.0
5
.tar.gz
md5sum =
d289667a60a6aa78d8bc276ab61b299
6
pre-configure = set -e
rm -rf fake_mariadb_source
mkdir -p fake_mariadb_source
...
...
@@ -89,7 +89,8 @@ configure-options =
--disable-document
patch-options = -p1
patches =
${:_profile_base_location_}/mroonga_boolean.patch#29f85fc98e85d39b31e53b1e1683d288
${:_profile_base_location_}/mroonga_boolean.patch#c818568fe35ca6a4298f18e575d962a0
${:_profile_base_location_}/1a910088ec55c61434029d8e1cc3c6192ac508d7.diff#a8b8df4dd870a1a269dfd9dc6941467b
pre-build =
sed -i -e "s,${mariadb:location}/include,$(pwd)/fake_mariadb_source/include,g" Makefile */Makefile
environment =
...
...
component/mariadb/mroonga_boolean.patch
View file @
b6481107
diff --git a/ha_mroonga.cpp b/ha_mroonga.cpp
index 06691fb..b59e685 100644
--- a/ha_mroonga.cpp
+++ b/ha_mroonga.cpp
@@ -8283,7 +8283,7 @@
grn_rc ha_mroonga::generic_ft_init_ext_prepare_expression_in_boolean_mode(
--- mroonga-7.05/lib/mrn_query_parser.cpp~ 2017-07-27 07:47:36.000000000 +0200
+++ mroonga-7.05/lib/mrn_query_parser.cpp 2017-08-14 11:19:25.339015061 +0200
@@ -52,7 +52,7 @@
const char *keyword
= NULL;
uint keyword
_length = 0;
- grn_operator default_operator = GRN_OP_OR;
+ grn_operator default_operator = GRN_OP_ADJUST;
grn_expr_flags expression_flags = 0;
generic_ft_init_ext_parse_pragma(info
,
key
,
const char *raw_query
= NULL;
size_t raw_query
_length = 0;
-
grn_operator default_operator = GRN_OP_OR;
+
grn_operator default_operator = GRN_OP_ADJUST;
grn_expr_flags expression_flags = 0;
parse_pragma(query
,
query_length
,
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