mirror of
https://github.com/t8y2/dbx.git
synced 2026-11-15 13:01:01 +08:00
* fix(grid): display readable UUID string when editing MariaDB UUID cells (#12911) * fix(grid): gate UUID handling on real column type metadata, harden hex literal parsing Addresses zipg CHANGES_REQUESTED on #12920: - P1: mysql_bytes_to_json no longer guesses UUID from content shape; plain BINARY/VARBINARY columns keep canonical hex form so download/copy/edit round-trips keep working. UUID string handling now gated on real UUID column-type metadata (decodeBinaryUuidText + is_uuid_column_type). - P2: format_hex_uuid_literal validates ASCII + hex shape before any byte-index slicing; no more UTF-8 boundary panic. Added malformed Unicode regression tests. Verified by watchdog: cargo test -j1 dbx-driver-mysql mysql_binary_string 1/1 green; dbx-sql-data uuid/binary tests 3/3 green; vitest dataGridCellCoercion.spec 65/65 green; cargo fmt + oxfmt clean.