Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-mysqlbackend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-mysqlbackend
Commits
cd2bc167
Verified
Commit
cd2bc167
authored
4 months ago
by
Daniel Hornung
Browse files
Options
Downloads
Patches
Plain Diff
FIX: versions in patch
parent
43456eec
No related branches found
No related tags found
1 merge request
!33
Fix accent sensitivity
Pipeline
#60528
failed
4 months ago
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-1
1 addition, 1 deletion
CHANGELOG.md
patches/patch20250130-8.0.1/patch.sh
+29
-2
29 additions, 2 deletions
patches/patch20250130-8.0.1/patch.sh
with
30 additions
and
3 deletions
CHANGELOG.md
+
1
−
1
View file @
cd2bc167
...
@@ -22,7 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
...
@@ -22,7 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
### Fixed
-
[
SQL dump migration can now be applied twice
](
https://gitlab.indiscale.com/caosdb/src/caosdb-mysqlbackend/-/issues/60
)
: Fixed an error in the regex.
-
[
SQL dump migration can now be applied twice
](
https://gitlab.indiscale.com/caosdb/src/caosdb-mysqlbackend/-/issues/60
)
: Fixed an error in the regex.
-
[
linahead-server#264 Queries ignore accents and umlauts
](
https://gitlab.com/linkahead/linkahead-server/-/issues/264
)
: Changed to more appropriate
-
[
lin
k
ahead-server#264 Queries ignore accents and umlauts
](
https://gitlab.com/linkahead/linkahead-server/-/issues/264
)
: Changed to more appropriate
collation and character sets.
collation and character sets.
### Security
### Security
...
...
This diff is collapsed.
Click to expand it.
patches/patch20250130-8.0.1/patch.sh
+
29
−
2
View file @
cd2bc167
...
@@ -23,8 +23,8 @@
...
@@ -23,8 +23,8 @@
#
#
# Set the collation so that accents on characters become relevant.
# Set the collation so that accents on characters become relevant.
NEW
_VERSION
=
"v8.0.0"
OLD
_VERSION
=
"v8.0.0"
OLD
_VERSION
=
"v8.0.1"
NEW
_VERSION
=
"v8.0.1"
if
[
-z
"
$UTILSPATH
"
]
;
then
if
[
-z
"
$UTILSPATH
"
]
;
then
UTILSPATH
=
"../utils"
UTILSPATH
=
"../utils"
...
@@ -41,6 +41,33 @@ tables=$(mysql_execute "SHOW TABLE status where Collation='utf8mb3_unicode_ci';"
...
@@ -41,6 +41,33 @@ tables=$(mysql_execute "SHOW TABLE status where Collation='utf8mb3_unicode_ci';"
for
table
in
tables
;
do
for
table
in
tables
;
do
mysql_execute
"ALTER TABLE
$table
CONVERT TO CHARACTER SET utf8mb4 COLLATE uca1400_as_ci;"
mysql_execute
"ALTER TABLE
$table
CONVERT TO CHARACTER SET utf8mb4 COLLATE uca1400_as_ci;"
done
done
# mysql_execute "UPDATE data_type SET datatype=17 WHERE datatype=3"
# cd git/caosdb-mysqlbackend/
# UTILSPATH=utils
# . utils/patch_header.sh
# show table status where Collation='utf8mb3_unicode_ci';
# name_data
# text_data
# show table status like 'name_data';
# select * from name_data where value like 'Yield%';
# update name_data SET value='Yield-stréss' where entity_id=354;
# update name_data SET value='Yield-strés😋s' where entity_id=354;
# select * from name_data where value='Yield-stress';
# # Unicode 14.0.0
# ALTER TABLE name_data CONVERT TO CHARACTER SET utf8mb4 COLLATE uca1400_as_ci;
# FULL_COLLATION_NAME: utf8mb4_uca1400_as_ci;
# COLLATION_NAME: uca1400_as_ci;
# mariadb -h sqldb -u caosdb -prandom1234 --default-character-set=utf8mb4 caosdb
update_version
$NEW_VERSION
update_version
$NEW_VERSION
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment