fix: support utf8mb4 across MySQL and MariaDB
Test / test (push) Canceled after 6m35s
Build and publish image / image (push) Successful in 13m42s

This commit is contained in:
bryanpedini committed 2026-11-20 15:14:28 +01:00
1 parent cce17c5fa4
commit d34894c9cd
28 files changed
+224 -121

No files matched your search

+2 -2
View File
@@ -48,10 +48,10 @@ func TestZoneAPIFailurePaths(t *testing.T) {
ran string
}{
{name: "actor lookup", operation: "record_create", body: zoneAPITestRecord, failOn: []string{"SELECT u."}},
{name: "delegation lookup", operation: "record_create", body: zoneAPITestRecord, setup: asUser, failOn: []string{"zone_delegations", "FOR SHARE"}},
{name: "delegation lookup", operation: "record_create", body: zoneAPITestRecord, setup: asUser, failOn: []string{"zone_delegations", "LOCK IN SHARE MODE"}},
{name: "zone rows lookup", operation: "record_create", body: zoneAPITestRecord, failOn: []string{zoneRowsWhere, "FOR UPDATE"}},
{name: "create malformed body", operation: "zone_create", body: "{", status: 400},
{name: "create stale grant lookup", operation: "zone_create", body: zoneAPITestCreate, setup: rowsWithStale, failOn: []string{"FOR UPDATE OF d"}},
{name: "create stale grant lookup", operation: "zone_create", body: zoneAPITestCreate, setup: rowsWithStale, failOn: []string{"ORDER BY username FOR UPDATE"}},
{name: "create after removing stale grants", operation: "zone_create", body: zoneAPITestCreate, setup: rowsWithStale,
failOn: []string{"INSERT INTO `coredns_records`"}, ran: "DELETE FROM `coredns_webui_zone_delegations`"},
{name: "create written rows", operation: "zone_create", body: zoneAPITestCreate, setup: rowsWithStale, failOn: zoneRead, ran: "INSERT INTO `coredns_records`"},