fix: support utf8mb4 across MySQL and MariaDB
This commit is contained in:
1 parent
cce17c5fa4
commit
d34894c9cd
28 files changed
+224
-121
No files matched your search
@@ -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`"},
|
||||
|
||||
Reference in new issue
Block a user