From df932835162e45a7b0d7720762589344974308aa Mon Sep 17 00:00:00 2001 From: go-jet Date: Tue, 17 Sep 2019 13:47:40 +0200 Subject: [PATCH] MariaDB test fix. --- tests/mysql/select_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/mysql/select_test.go b/tests/mysql/select_test.go index d0dac9c..602a00d 100644 --- a/tests/mysql/select_test.go +++ b/tests/mysql/select_test.go @@ -530,6 +530,11 @@ LOCK IN SHARE MODE; } func TestWindowFunction(t *testing.T) { + + if sourceIsMariaDB() { + return + } + var expectedSQL = ` SELECT AVG(payment.amount) OVER (), AVG(payment.amount) OVER (PARTITION BY payment.customer_id),