Files
dbx/crates/dbx-sql-data
lxk955 bd469c49f6 fix(grid): display readable UUID string when editing MariaDB UUID cells (#12920)
* 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.
2026-10-22 15:23:40 +08:00
..