MariaDB test fix.

This commit is contained in:
go-jet 2019-09-17 13:47:40 +02:00
parent 31479f2130
commit df93283516

View file

@ -530,6 +530,11 @@ LOCK IN SHARE MODE;
} }
func TestWindowFunction(t *testing.T) { func TestWindowFunction(t *testing.T) {
if sourceIsMariaDB() {
return
}
var expectedSQL = ` var expectedSQL = `
SELECT AVG(payment.amount) OVER (), SELECT AVG(payment.amount) OVER (),
AVG(payment.amount) OVER (PARTITION BY payment.customer_id), AVG(payment.amount) OVER (PARTITION BY payment.customer_id),