Skip to content

backport - fix collation failure#15

Merged
tanjinx merged 1 commit intoslack-vitess-r13.0.3from
backport-11474
Nov 9, 2022
Merged

backport - fix collation failure#15
tanjinx merged 1 commit intoslack-vitess-r13.0.3from
backport-11474

Conversation

@tanjinx
Copy link
Copy Markdown

@tanjinx tanjinx commented Nov 8, 2022

Description

The CI test Unit Test (mysql80) / test (pull_request) failed with this error:

--- FAIL: TestComparisonSemantics (13.17s)
    --- FAIL: TestComparisonSemantics/equals (6.40s)
        coercion_test.go:202: expected dec8_swedish_ci vs utf8_general_ci to fail coercion: Illegal mix of collations (dec8_swedish_ci,EXPLICIT) and (utf8mb3_general_ci,EXPLICIT) for operation '=' (errno 1267) (sqlstate HY000) during query: SELECT CAST(((_dec8 X'6162636441424344[30](https://github.com/slackhq/vitess/actions/runs/3414744449/jobs/5683094619#step:8:31)31323334' COLLATE "dec8_swedish_ci") = (_utf8 X'61626364414243443031323334' COLLATE "utf8_general_ci")) AS BINARY), COLLATION((_dec8 X'61626364414243443031323334' COLLATE "dec8_swedish_ci") = (_utf8 X'61626364414243443031323334' COLLATE "utf8_general_ci")), COERCIBILITY((_dec8 X'61626364414243443031323334' COLLATE "dec8_swedish_ci") = (_utf8 X'61626364414243443031323334' COLLATE "utf8_general_ci"))

the upstream fixed through 2 PRs:

Related Issue(s)

Checklist

  • "Backport me!" label has been added if this change should be backported
  • Tests were added or are not required
  • Documentation was added or is not required

Deployment Notes

@tanjinx tanjinx merged commit 1586ec4 into slack-vitess-r13.0.3 Nov 9, 2022
@tanjinx tanjinx added the v13 label Dec 9, 2022
@tanjinx tanjinx deleted the backport-11474 branch February 18, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants