Commit 461e4668 authored by unknown's avatar unknown

metadata test of bug # 31249: problem with convert(..., datetime) removed

as PS protocol gives slightly different metadata.
parent 0d6a6566
...@@ -441,12 +441,5 @@ insert into t1 values (), (), (); ...@@ -441,12 +441,5 @@ insert into t1 values (), (), ();
select sum(a) from t1 group by convert(a, datetime); select sum(a) from t1 group by convert(a, datetime);
sum(a) sum(a)
NULL NULL
select convert(a, datetime) from t1;
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def convert(a, datetime) 12 29 0 Y 128 6 63
convert(a, datetime)
NULL
NULL
NULL
drop table t1; drop table t1;
End of 5.0 tests End of 5.0 tests
...@@ -299,9 +299,6 @@ drop table t1; ...@@ -299,9 +299,6 @@ drop table t1;
create table t1 (a tinyint); create table t1 (a tinyint);
insert into t1 values (), (), (); insert into t1 values (), (), ();
select sum(a) from t1 group by convert(a, datetime); select sum(a) from t1 group by convert(a, datetime);
--enable_metadata
select convert(a, datetime) from t1;
--disable_metadata
drop table t1; drop table t1;
--echo End of 5.0 tests --echo End of 5.0 tests
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