summaryrefslogtreecommitdiff
path: root/mysql-test/t/win.test
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-07-07 12:43:10 +0400
committerAlexander Barkov <bar@mariadb.org>2017-07-07 12:43:10 +0400
commit8b2c7c9444db2369d2ecdaa1f14fbc8826a8fb39 (patch)
tree72fa33f92344a89792845bab9225cef56b4138c4 /mysql-test/t/win.test
parent3f327432942ef5db14dd905ffd147f234dc74bfb (diff)
parent3b862aaa10942e7405b90cf80d0c3baca4cda55d (diff)
downloadmariadb-git-8b2c7c9444db2369d2ecdaa1f14fbc8826a8fb39.tar.gz
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
Diffstat (limited to 'mysql-test/t/win.test')
-rw-r--r--mysql-test/t/win.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/win.test b/mysql-test/t/win.test
index 614c3638f64..753fe5c7693 100644
--- a/mysql-test/t/win.test
+++ b/mysql-test/t/win.test
@@ -1916,6 +1916,15 @@ from t1;
drop table t1;
--echo #
+--echo # MDEV-13189: Window functions crash when using INTERVAL function
+--echo #
+create table t1(i int);
+insert into t1 values (1),(2),(10),(20),(30);
+select sum(i) over (order by i), interval(sum(i) over (order by i), 10, 20)
+from t1;
+drop table t1;
+
+--echo #
--echo # Start of 10.3 tests
--echo #