Fix a bug of omitting to set res type length for lob exprs

This commit is contained in:
obdev
2023-04-13 08:40:19 +00:00
committed by ob-robot
parent 475b0fa975
commit 3926fdba2f
8 changed files with 37 additions and 4 deletions

View File

@ -1,5 +1,5 @@
use information_schema;
select * from views order by table_name desc;
select * from views where table_schema = 'mysql' order by table_name desc ;
TABLE_CATALOG TABLE_SCHEMA TABLE_NAME VIEW_DEFINITION CHECK_OPTION IS_UPDATABLE DEFINER SECURITY_TYPE CHARACTER_SET_CLIENT COLLATION_CONNECTION
def mysql time_zone_transition_type SELECT time_zone_id as Time_zone_id, transition_type_id as Transition_type_id, offset as Offset, is_dst as Is_DST, abbreviation as Abbreviation FROM oceanbase.__all_tenant_time_zone_transition_type NONE NO NONE NONE utf8mb4 utf8mb4_general_ci
def mysql time_zone_transition SELECT time_zone_id as Time_zone_id, transition_time as Transition_time, transition_type_id as Transition_type_id FROM oceanbase.__all_tenant_time_zone_transition NONE NO NONE NONE utf8mb4 utf8mb4_general_ci

View File

@ -8,7 +8,7 @@ set @@session.explicit_defaults_for_timestamp=off;
connect (obsys,$OBMYSQL_MS0,admin,$OBMYSQL_PWD,test,$OBMYSQL_PORT);
connection obsys;
use information_schema;
select * from views order by table_name desc;
select * from views where table_schema = 'mysql' order by table_name desc ;
select table_schema, table_name from views order by table_name desc;
--source mysql_test/include/show_create_table_old_version_replica2.inc
show create view views;