add column schedule_info in __all_ddl_task_status
This commit is contained in:
@ -599,6 +599,21 @@ int ObInnerTableSchema::all_virtual_ddl_task_status_schema(ObTableSchema &table_
|
||||
consensus_schema_version_default,
|
||||
consensus_schema_version_default); //default_value
|
||||
}
|
||||
|
||||
if (OB_SUCC(ret)) {
|
||||
ADD_COLUMN_SCHEMA("schedule_info", //column_name
|
||||
++column_id, //column_id
|
||||
0, //rowkey_id
|
||||
0, //index_id
|
||||
0, //part_key_pos
|
||||
ObLongTextType, //column_type
|
||||
CS_TYPE_INVALID, //column_collation_type
|
||||
0, //column_length
|
||||
-1, //column_precision
|
||||
-1, //column_scale
|
||||
true, //is_nullable
|
||||
false); //is_autoincrement
|
||||
}
|
||||
table_schema.set_index_using_type(USING_BTREE);
|
||||
table_schema.set_row_store_type(ENCODING_ROW_STORE);
|
||||
table_schema.set_store_format(OB_STORE_FORMAT_DYNAMIC_MYSQL);
|
||||
|
||||
@ -2476,6 +2476,21 @@ int ObInnerTableSchema::all_ddl_task_status_schema(ObTableSchema &table_schema)
|
||||
consensus_schema_version_default,
|
||||
consensus_schema_version_default); //default_value
|
||||
}
|
||||
|
||||
if (OB_SUCC(ret)) {
|
||||
ADD_COLUMN_SCHEMA("schedule_info", //column_name
|
||||
++column_id, //column_id
|
||||
0, //rowkey_id
|
||||
0, //index_id
|
||||
0, //part_key_pos
|
||||
ObLongTextType, //column_type
|
||||
CS_TYPE_INVALID, //column_collation_type
|
||||
0, //column_length
|
||||
-1, //column_precision
|
||||
-1, //column_scale
|
||||
true, //is_nullable
|
||||
false); //is_autoincrement
|
||||
}
|
||||
table_schema.set_index_using_type(USING_BTREE);
|
||||
table_schema.set_row_store_type(ENCODING_ROW_STORE);
|
||||
table_schema.set_store_format(OB_STORE_FORMAT_DYNAMIC_MYSQL);
|
||||
|
||||
@ -2997,6 +2997,7 @@ def_table_schema(
|
||||
('ret_code', 'int', 'false', '0'),
|
||||
('message', 'longtext', 'true'),
|
||||
('consensus_schema_version', 'int', 'false', '-1'),
|
||||
('schedule_info', 'longtext', 'true'),
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
@ -4864,6 +4864,7 @@ ddl_stmt_str longtext YES NULL
|
||||
ret_code bigint(20) NO 0
|
||||
message longtext YES NULL
|
||||
consensus_schema_version bigint(20) NO -1
|
||||
schedule_info longtext YES NULL
|
||||
select /*+QUERY_TIMEOUT(60000000)*/ IF(count(*) >= 0, 1, 0) from oceanbase.__all_virtual_ddl_task_status;
|
||||
IF(count(*) >= 0, 1, 0)
|
||||
1
|
||||
|
||||
Reference in New Issue
Block a user