From 63aa31925aaada131d545581d9b19277f4b1e4a3 Mon Sep 17 00:00:00 2001 From: go-jet Date: Mon, 1 Jun 2020 20:35:07 +0200 Subject: [PATCH] Disable unsupported MariaDB tests. --- tests/mysql/with_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/mysql/with_test.go b/tests/mysql/with_test.go index fa53fad..0a82f2e 100644 --- a/tests/mysql/with_test.go +++ b/tests/mysql/with_test.go @@ -95,6 +95,9 @@ FROM customer_sales_rep; //} func TestWITH_And_UPDATE(t *testing.T) { + if sourceIsMariaDB() { + return + } paymentsToUpdate := CTE("payments_to_update") paymentsToDeleteID := Payment.PaymentID.From(paymentsToUpdate) @@ -124,6 +127,10 @@ func TestWITH_And_UPDATE(t *testing.T) { } func TestWITH_And_DELETE(t *testing.T) { + if sourceIsMariaDB() { + return + } + paymentsToDelete := CTE("payments_to_delete") paymentsToDeleteID := Payment.PaymentID.From(paymentsToDelete)