Commit 1c858dd9 authored by Vicențiu Ciorbaru's avatar Vicențiu Ciorbaru

Make win_big test specify only if Sort_merge_passes have happened

The number is irrelevant and may differ by architecture. We are only
interested if it happened or not
parent 8b95e7eb
...@@ -18,9 +18,12 @@ select ...@@ -18,9 +18,12 @@ select
sum(b) over (order by a rows between 2 preceding and 2 following) as SUM_B sum(b) over (order by a rows between 2 preceding and 2 following) as SUM_B
from from
t10; t10;
show status like 'Sort_merge_passes'; select variable_name,
Variable_name Value case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
Sort_merge_passes 0 from information_schema.session_status
where variable_name like 'Sort_merge_passes';
variable_name case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
SORT_MERGE_PASSES NO PASSES
set sort_buffer_size=1024; set sort_buffer_size=1024;
flush status; flush status;
create table t22 as create table t22 as
...@@ -28,9 +31,12 @@ select ...@@ -28,9 +31,12 @@ select
sum(b) over (order by a rows between 2 preceding and 2 following) as SUM_B sum(b) over (order by a rows between 2 preceding and 2 following) as SUM_B
from from
t10; t10;
show status like 'Sort_merge_passes'; select variable_name,
Variable_name Value case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
Sort_merge_passes 35 from information_schema.session_status
where variable_name like 'Sort_merge_passes';
variable_name case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
SORT_MERGE_PASSES WITH PASSES
include/diff_tables.inc [t21, t22] include/diff_tables.inc [t21, t22]
drop table t21, t22; drop table t21, t22;
################################################################# #################################################################
...@@ -44,9 +50,12 @@ sum(b) over (order by a rows between 5 preceding and 5 following) as SUM_B2, ...@@ -44,9 +50,12 @@ sum(b) over (order by a rows between 5 preceding and 5 following) as SUM_B2,
sum(b) over (order by a rows between 20 preceding and 20 following) as SUM_B3 sum(b) over (order by a rows between 20 preceding and 20 following) as SUM_B3
from from
t10; t10;
show status like 'Sort_merge_passes'; select variable_name,
Variable_name Value case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
Sort_merge_passes 0 from information_schema.session_status
where variable_name like 'Sort_merge_passes';
variable_name case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
SORT_MERGE_PASSES NO PASSES
set sort_buffer_size=1024; set sort_buffer_size=1024;
flush status; flush status;
create table t22 as create table t22 as
...@@ -56,9 +65,12 @@ sum(b) over (order by a rows between 5 preceding and 5 following) as SUM_B2, ...@@ -56,9 +65,12 @@ sum(b) over (order by a rows between 5 preceding and 5 following) as SUM_B2,
sum(b) over (order by a rows between 20 preceding and 20 following) as SUM_B3 sum(b) over (order by a rows between 20 preceding and 20 following) as SUM_B3
from from
t10; t10;
show status like 'Sort_merge_passes'; select variable_name,
Variable_name Value case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
Sort_merge_passes 35 from information_schema.session_status
where variable_name like 'Sort_merge_passes';
variable_name case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
SORT_MERGE_PASSES WITH PASSES
include/diff_tables.inc [t21, t22] include/diff_tables.inc [t21, t22]
drop table t21, t22; drop table t21, t22;
################################################################# #################################################################
...@@ -72,9 +84,12 @@ a, ...@@ -72,9 +84,12 @@ a,
sum(b) over (order by a range between 5000 preceding and 5000 following) as SUM_B1 sum(b) over (order by a range between 5000 preceding and 5000 following) as SUM_B1
from from
t10; t10;
show status like 'Sort_merge_passes'; select variable_name,
Variable_name Value case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
Sort_merge_passes 0 from information_schema.session_status
where variable_name like 'Sort_merge_passes';
variable_name case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
SORT_MERGE_PASSES NO PASSES
set sort_buffer_size=1024; set sort_buffer_size=1024;
flush status; flush status;
create table t22 as create table t22 as
...@@ -83,9 +98,12 @@ a, ...@@ -83,9 +98,12 @@ a,
sum(b) over (order by a range between 5000 preceding and 5000 following) as SUM_B1 sum(b) over (order by a range between 5000 preceding and 5000 following) as SUM_B1
from from
t10; t10;
show status like 'Sort_merge_passes'; select variable_name,
Variable_name Value case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
Sort_merge_passes 35 from information_schema.session_status
where variable_name like 'Sort_merge_passes';
variable_name case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
SORT_MERGE_PASSES WITH PASSES
include/diff_tables.inc [t21, t22] include/diff_tables.inc [t21, t22]
drop table t21, t22; drop table t21, t22;
################################################################# #################################################################
......
...@@ -28,7 +28,10 @@ select ...@@ -28,7 +28,10 @@ select
sum(b) over (order by a rows between 2 preceding and 2 following) as SUM_B sum(b) over (order by a rows between 2 preceding and 2 following) as SUM_B
from from
t10; t10;
show status like 'Sort_merge_passes'; select variable_name,
case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
from information_schema.session_status
where variable_name like 'Sort_merge_passes';
set sort_buffer_size=1024; set sort_buffer_size=1024;
flush status; flush status;
...@@ -37,7 +40,10 @@ select ...@@ -37,7 +40,10 @@ select
sum(b) over (order by a rows between 2 preceding and 2 following) as SUM_B sum(b) over (order by a rows between 2 preceding and 2 following) as SUM_B
from from
t10; t10;
show status like 'Sort_merge_passes'; select variable_name,
case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
from information_schema.session_status
where variable_name like 'Sort_merge_passes';
let $diff_tables= t21, t22; let $diff_tables= t21, t22;
source include/diff_tables.inc; source include/diff_tables.inc;
...@@ -54,7 +60,10 @@ select ...@@ -54,7 +60,10 @@ select
sum(b) over (order by a rows between 20 preceding and 20 following) as SUM_B3 sum(b) over (order by a rows between 20 preceding and 20 following) as SUM_B3
from from
t10; t10;
show status like 'Sort_merge_passes'; select variable_name,
case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
from information_schema.session_status
where variable_name like 'Sort_merge_passes';
set sort_buffer_size=1024; set sort_buffer_size=1024;
flush status; flush status;
...@@ -65,7 +74,10 @@ select ...@@ -65,7 +74,10 @@ select
sum(b) over (order by a rows between 20 preceding and 20 following) as SUM_B3 sum(b) over (order by a rows between 20 preceding and 20 following) as SUM_B3
from from
t10; t10;
show status like 'Sort_merge_passes'; select variable_name,
case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
from information_schema.session_status
where variable_name like 'Sort_merge_passes';
let $diff_tables= t21, t22; let $diff_tables= t21, t22;
source include/diff_tables.inc; source include/diff_tables.inc;
...@@ -82,7 +94,11 @@ select ...@@ -82,7 +94,11 @@ select
sum(b) over (order by a range between 5000 preceding and 5000 following) as SUM_B1 sum(b) over (order by a range between 5000 preceding and 5000 following) as SUM_B1
from from
t10; t10;
show status like 'Sort_merge_passes';
select variable_name,
case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
from information_schema.session_status
where variable_name like 'Sort_merge_passes';
set sort_buffer_size=1024; set sort_buffer_size=1024;
flush status; flush status;
...@@ -92,7 +108,10 @@ select ...@@ -92,7 +108,10 @@ select
sum(b) over (order by a range between 5000 preceding and 5000 following) as SUM_B1 sum(b) over (order by a range between 5000 preceding and 5000 following) as SUM_B1
from from
t10; t10;
show status like 'Sort_merge_passes'; select variable_name,
case when variable_value > 0 then 'WITH PASSES' else 'NO PASSES' end
from information_schema.session_status
where variable_name like 'Sort_merge_passes';
let $diff_tables= t21, t22; let $diff_tables= t21, t22;
source include/diff_tables.inc; source include/diff_tables.inc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment