diff options
author | monty@hundin.mysql.fi <> | 2001-06-03 12:26:24 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-06-03 12:26:24 +0300 |
commit | 4014d2367ccdfe00670de3dfaeeef8389008b208 (patch) | |
tree | a8649f73d8dc4f4b298871c75089fd3e584adb6e /mysql-test/t/select.test | |
parent | 0efb10e71ca1bc2391ddfd711aefff0d231a6789 (diff) | |
download | mariadb-git-4014d2367ccdfe00670de3dfaeeef8389008b208.tar.gz |
Added ABS() to make tests more portable.
New postgresql crash-me file.
Increased blob size in benchmarks from 65K to 1M.
Diffstat (limited to 'mysql-test/t/select.test')
-rw-r--r-- | mysql-test/t/select.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/select.test b/mysql-test/t/select.test index 10079ba2549..cdb6ee57e0f 100644 --- a/mysql-test/t/select.test +++ b/mysql-test/t/select.test @@ -1609,7 +1609,7 @@ select t2.fld1,count(*) from t2,t3 where t2.fld1=158402 and t3.name=t2.fld3 grou # select sum(Period)/count(*) from t1; -select companynr,count(price) as "count",sum(price) as "sum" ,sum(price)/count(price)-avg(price) as "diff",(0+count(price))*companynr as func from t3 group by companynr; +select companynr,count(price) as "count",sum(price) as "sum" ,abs(sum(price)/count(price)-avg(price)) as "diff",(0+count(price))*companynr as func from t3 group by companynr; select companynr,sum(price)/count(price) as avg from t3 group by companynr having avg > 70000000 order by avg; # |