Commit 811ace83 authored by Alexey Kopytov's avatar Alexey Kopytov

Fixed several test failures in the funcs_1 suite introduced by the patch for bug #21205.

parent c41a7005
...@@ -22825,7 +22825,7 @@ f1 f2 ...@@ -22825,7 +22825,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;
...@@ -22843,7 +22843,7 @@ ABC DEF ...@@ -22843,7 +22843,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
...@@ -22863,7 +22863,7 @@ my_sqrt double YES NULL ...@@ -22863,7 +22863,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