Skip to content

draft: investigate MariaDB utf8mb4_uca1400_ai_ci collation handling#4435

Draft
mujib77 wants to merge 2 commits into
sqlc-dev:mainfrom
mujib77:investigate-mariadb-collation
Draft

draft: investigate MariaDB utf8mb4_uca1400_ai_ci collation handling#4435
mujib77 wants to merge 2 commits into
sqlc-dev:mainfrom
mujib77:investigate-mariadb-collation

Conversation

@mujib77
Copy link
Copy Markdown

@mujib77 mujib77 commented May 11, 2026

Summary

This draft PR documents investigation work related to MariaDB collation issue #4222.

What I investigated

  • Reproduced the issue on current main

  • Created a minimal MariaDB reproduction schema

  • Traced parsing flow into internal/engine/dolphin/parse.go

  • Investigated the p.pingcap.Parse(...) parser entrypoint

  • Attempted a temporary normalization workaround for:

    utf8mb4_uca1400_ai_ci
    

Current status

The attempted workaround did not fully resolve the issue and also caused parser-related test failures.

At the moment, it appears the unsupported collation handling likely occurs deeper in the parser / DDL validation layer.

Opening this draft PR mainly to share investigation findings and make future debugging easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant