mirror of
https://github.com/MariaDB/server.git
synced 2026-10-23 18:49:29 +03:00
A multi-byte PERIOD name at the 64-character limit (192 bytes) filled the name buffer exactly, leaving no room for the '_N' suffix appended when generating a unique name for the implicit CHECK constraint. Truncate on a character boundary, but only once a suffix is actually needed (mirroring make_unique_key_name), so a non-colliding name is never altered. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
446 KiB
446 KiB