diff options
author | serg@serg.mylan <> | 2005-05-14 19:28:29 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2005-05-14 19:28:29 +0200 |
commit | 40ce1e174d1e02b9e11a6092a332ca74280e040d (patch) | |
tree | ef2346baa5a2fe4cff6f083464efec28e5ea3c34 /mysql-test/t/olap.test | |
parent | 0dab212f5c1dcf6d829751765ae9d5dcdb5346d5 (diff) | |
parent | 7cb3e5924c6064e31542332a48f81c9f87928ed8 (diff) | |
download | mariadb-git-40ce1e174d1e02b9e11a6092a332ca74280e040d.tar.gz |
merged
Diffstat (limited to 'mysql-test/t/olap.test')
-rw-r--r-- | mysql-test/t/olap.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/olap.test b/mysql-test/t/olap.test index 03b26e0b6c6..378f195406b 100644 --- a/mysql-test/t/olap.test +++ b/mysql-test/t/olap.test @@ -2,6 +2,10 @@ drop table if exists t1,t2; --enable_warnings +set @sav_dpi= @@div_precision_increment; +set div_precision_increment= 5; +show variables like 'div_precision_increment'; + create table t1 (product varchar(32), country_id int not null, year int, profit int); insert into t1 values ( 'Computer', 2,2000, 1200), ( 'TV', 1, 1999, 150), @@ -191,3 +195,4 @@ SELECT a, SUM(a) m FROM t1 GROUP BY a WITH ROLLUP; SELECT * FROM ( SELECT a, SUM(a) m FROM t1 GROUP BY a WITH ROLLUP ) t2; DROP TABLE t1; +set div_precision_increment= @sav_dpi; |