Skip to content

Commit

Permalink
Go 1.17 and MariaDB 10.6 are released (go-sql-driver#1253)
Browse files Browse the repository at this point in the history
* Go 1.17 and MariaDB 10.6 are released

* use `utf8mb4_unicode_ci` instead of `utf8_unicode_ci`

https://mariadb.com/kb/en/changes-improvements-in-mariadb-106/#character-sets

> The utf8 character set (and related collations) is now by default an alias for utf8mb3 rather than the other way around.
  • Loading branch information
shogo82148 committed Aug 25, 2021
1 parent a5bb807 commit 6cf3092
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ jobs:
import json
go = [
# Keep the most recent production release at the top
'1.16',
'1.17',
# Older production releases
'1.16',
'1.15',
'1.14',
'1.13',
Expand All @@ -32,6 +33,7 @@ jobs:
'8.0',
'5.7',
'5.6',
'mariadb-10.6',
'mariadb-10.5',
'mariadb-10.4',
'mariadb-10.3',
Expand Down
2 changes: 1 addition & 1 deletion driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1479,7 +1479,7 @@ func TestCollation(t *testing.T) {
defaultCollation, // driver default
"latin1_general_ci",
"binary",
"utf8_unicode_ci",
"utf8mb4_unicode_ci",
"cp1257_bin",
}

Expand Down

0 comments on commit 6cf3092

Please sign in to comment.