build script fixes
bug5715: incorrect calculation provided in result set
Add session variable for using double for decimal arithmetic operation.
bug5715: incorrect calculation provided in result set
Default infinidb_double_for_decimal_math to ON.
bug5715: incorrect calculation provided in result set
Default infinidb_double_for_decimal_math to OFF.
bug5363: HAVING statement regression on 4.0 with COUNT DISTINCT

This bug was caused by the window function addition in the parser.
The mid-rule action of count distinct was converted to an end rule
action without caution. Fixed the end rule action for count distinct
in the parser by adding a in_sum_expr_list rule.
bug5363: matching .cc file
bug5777: LAG function returns invalid answer on a float column
Make DOUBLE and FLOAT distinguishable in window functions.
bump release
4.0.2 release