summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/win_empty_over.test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--mysql-test/main/win_empty_over.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/main/win_empty_over.test b/mysql-test/main/win_empty_over.test
index 91344d76..dff15a41 100644
--- a/mysql-test/main/win_empty_over.test
+++ b/mysql-test/main/win_empty_over.test
@@ -21,7 +21,9 @@ insert into t1 values
(11, 2, 10, NULL, 0.9, NULL);
select pk, row_number() over () from t1;
+--source include/explain-no-costs.inc
explain FORMAT=JSON select pk, row_number() over () from t1;
+--source include/explain-no-costs.inc
explain FORMAT=JSON select row_number() over (), pk from t1;
select row_number() over () from (select 4) as t;