Commit db7a88a2 authored by unknown's avatar unknown
Browse files

Bug#18469 make test fails on information_schema

 move test case for bug 14290 to ctype_ucs test

parent cc12c914
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -719,3 +719,11 @@ lily
river
drop table t1;
deallocate prepare stmt;
create table t1(a blob, b text charset utf8, c text charset ucs2);
select data_type, character_octet_length, character_maximum_length
from information_schema.columns where table_name='t1';
data_type	character_octet_length	character_maximum_length
blob	65535	65535
text	65535	65535
text	65535	32767
drop table t1;
+0 −8
Original line number Diff line number Diff line
@@ -1041,14 +1041,6 @@ select 1 from (select 1 from test.t1) a;
1
use test;
drop table t1;
create table t1(a blob, b text charset utf8, c text charset ucs2);
select data_type, character_octet_length, character_maximum_length 
from information_schema.columns where table_name='t1';
data_type	character_octet_length	character_maximum_length
blob	65535	65535
text	65535	65535
text	65535	32767
drop table t1;
create table t1 (f1 int(11));
create view v1 as select * from t1;
drop table t1;
+8 −0
Original line number Diff line number Diff line
@@ -455,3 +455,11 @@ execute stmt using @param1;
select utext from t1 where utext like '%%';
drop table t1;
deallocate prepare stmt;

#
# Bug #14290: character_maximum_length for text fields
#
create table t1(a blob, b text charset utf8, c text charset ucs2);
select data_type, character_octet_length, character_maximum_length
  from information_schema.columns where table_name='t1';
drop table t1;
+0 −9
Original line number Diff line number Diff line
@@ -738,15 +738,6 @@ select 1 from (select 1 from test.t1) a;
use test;
drop table t1;

#
# Bug #14290: character_maximum_length for text fields
#

create table t1(a blob, b text charset utf8, c text charset ucs2);
select data_type, character_octet_length, character_maximum_length 
  from information_schema.columns where table_name='t1';
drop table t1;

#
# Bug#14476 `information_schema`.`TABLES`.`TABLE_TYPE` with empty value
#