diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-07-31 13:51:28 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-07-31 13:51:28 +0300 |
commit | 66ec3a770f7854f500ece66c78f3c87c9cd6da15 (patch) | |
tree | 0777df9a8dc587b70851c1edc0cfe96895928717 /mysql-test/main/win.test | |
parent | 6053eb1ce278ac1f566cd74498506bf457d6d048 (diff) | |
parent | f35d1721039f8f115fc55e8f4b4d2bb4012161d1 (diff) | |
download | mariadb-git-66ec3a770f7854f500ece66c78f3c87c9cd6da15.tar.gz |
Merge 10.2 into 10.3
Diffstat (limited to 'mysql-test/main/win.test')
-rw-r--r-- | mysql-test/main/win.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/main/win.test b/mysql-test/main/win.test index 64fda5e7793..37d2b616dda 100644 --- a/mysql-test/main/win.test +++ b/mysql-test/main/win.test @@ -2498,6 +2498,15 @@ SELECT ROW_NUMBER() OVER w2 FROM t1 WINDOW w2 AS (PARTITION BY -1,0,1,2,3,4,5,6) DROP TABLE t1; --echo # +--echo # MDEV-18916: crash in Window_spec::print_partition() with decimals +--echo # + +--error ER_TOO_BIG_SCALE +SELECT cast((rank() over w1) as decimal (53,56)); +--error ER_WRONG_WINDOW_SPEC_NAME +SELECT cast((rank() over w1) as decimal (53,30)); + +--echo # --echo # End of 10.2 tests --echo # |