Commit 1c39d5ff authored by Patrick Crews's avatar Patrick Crews

Fix of failing funcs_1 tests.

Changes are due to changes in precision.
Re-record of .result files to account for new server precision.
parent df0fc2ea
...@@ -22824,7 +22824,7 @@ f1 f2 ...@@ -22824,7 +22824,7 @@ f1 f2
ABC 3 ABC 3
SELECT * FROM v1 order by 2; SELECT * FROM v1 order by 2;
f1 my_sqrt f1 my_sqrt
ABC 1.7320508075689 ABC 1.73205080756888
ALTER TABLE t1 CHANGE COLUMN f2 f2 VARCHAR(30); ALTER TABLE t1 CHANGE COLUMN f2 f2 VARCHAR(30);
INSERT INTO t1 SET f1 = 'ABC', f2 = 'DEF'; INSERT INTO t1 SET f1 = 'ABC', f2 = 'DEF';
DESCRIBE t1; DESCRIBE t1;
...@@ -22842,7 +22842,7 @@ ABC DEF ...@@ -22842,7 +22842,7 @@ ABC DEF
SELECT * FROM v1 order by 2; SELECT * FROM v1 order by 2;
f1 my_sqrt f1 my_sqrt
ABC 0 ABC 0
ABC 1.7320508075689 ABC 1.73205080756888
SELECT SQRT('DEF'); SELECT SQRT('DEF');
SQRT('DEF') SQRT('DEF')
0 0
...@@ -22862,7 +22862,7 @@ my_sqrt double YES NULL ...@@ -22862,7 +22862,7 @@ my_sqrt double YES NULL
SELECT * FROM v2 order by 2; SELECT * FROM v2 order by 2;
f1 my_sqrt f1 my_sqrt
ABC 0 ABC 0
ABC 1.7320508075689 ABC 1.73205080756888
CREATE TABLE t2 AS SELECT f1, SQRT(f2) my_sqrt FROM t1; CREATE TABLE t2 AS SELECT f1, SQRT(f2) my_sqrt FROM t1;
SELECT * FROM t2 order by 2; SELECT * FROM t2 order by 2;
f1 ABC f1 ABC
......
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