summaryrefslogtreecommitdiff
path: root/mysql-test/r/stat_tables_par_innodb.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/r/stat_tables_par_innodb.result')
-rw-r--r--mysql-test/r/stat_tables_par_innodb.result12
1 files changed, 6 insertions, 6 deletions
diff --git a/mysql-test/r/stat_tables_par_innodb.result b/mysql-test/r/stat_tables_par_innodb.result
index 155582c9192..8fc0483d9aa 100644
--- a/mysql-test/r/stat_tables_par_innodb.result
+++ b/mysql-test/r/stat_tables_par_innodb.result
@@ -49,14 +49,14 @@ dbt3_s001 supplier PRIMARY 1 1.0000
dbt3_s001 supplier i_s_nationkey 1 1.1111
flush table lineitem;
set use_stat_tables='never';
-select sum(l_extendedprice*l_discount) as revenue
+select round(sum(l_extendedprice*l_discount),4) as revenue
from lineitem
where l_shipdate >= date '1994-01-01'
and l_shipdate < date '1994-01-01' + interval '1' year
and l_discount between 0.06 - 0.01 and 0.06 + 0.01
and l_quantity < 24;
revenue
-77949.91860000002
+77949.9186
connect con1, localhost, root,,;
connect con2, localhost, root,,;
connection con1;
@@ -64,7 +64,7 @@ set debug_sync='statistics_mem_alloc_start1 WAIT_FOR second_thread_started_too'
set debug_sync='statistics_mem_alloc_start2 SIGNAL first_thread_working';
use dbt3_s001;
set use_stat_tables='preferably';
-select sum(l_extendedprice*l_discount) as revenue
+select round(sum(l_extendedprice*l_discount),4) as revenue
from lineitem
where l_shipdate >= date '1994-01-01'
and l_shipdate < date '1994-01-01' + interval '1' year
@@ -75,7 +75,7 @@ set debug_sync='statistics_mem_alloc_start1 SIGNAL second_thread_started_too';
set debug_sync='statistics_mem_alloc_start2 WAIT_FOR first_thread_working';
use dbt3_s001;
set use_stat_tables='preferably';
-select sum(l_extendedprice*l_discount) as revenue
+select round(sum(l_extendedprice*l_discount),4) as revenue
from lineitem
where l_shipdate >= date '1994-01-01'
and l_shipdate < date '1994-01-01' + interval '1' year
@@ -83,10 +83,10 @@ and l_discount between 0.06 - 0.01 and 0.06 + 0.01
and l_quantity < 24;
connection con1;
revenue
-77949.91860000002
+77949.9186
connection con2;
revenue
-77949.91860000002
+77949.9186
connection default;
set use_stat_tables='preferably';
disconnect con1;