occupy for run_detail_v2_add_column
This commit is contained in:
@ -4435,6 +4435,21 @@ int ObInnerTableSchema::all_virtual_scheduler_job_run_detail_v2_schema(ObTableSc
|
|||||||
false, //is_nullable
|
false, //is_nullable
|
||||||
false); //is_autoincrement
|
false); //is_autoincrement
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (OB_SUCC(ret)) {
|
||||||
|
ADD_COLUMN_SCHEMA("database_name", //column_name
|
||||||
|
++column_id, //column_id
|
||||||
|
0, //rowkey_id
|
||||||
|
0, //index_id
|
||||||
|
0, //part_key_pos
|
||||||
|
ObVarcharType, //column_type
|
||||||
|
CS_TYPE_INVALID, //column_collation_type
|
||||||
|
OB_MAX_DATABASE_NAME_LENGTH, //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_index_using_type(USING_BTREE);
|
||||||
table_schema.set_row_store_type(ENCODING_ROW_STORE);
|
table_schema.set_row_store_type(ENCODING_ROW_STORE);
|
||||||
table_schema.set_store_format(OB_STORE_FORMAT_DYNAMIC_MYSQL);
|
table_schema.set_store_format(OB_STORE_FORMAT_DYNAMIC_MYSQL);
|
||||||
|
|||||||
@ -911,6 +911,21 @@ int ObInnerTableSchema::all_virtual_scheduler_job_run_detail_v2_real_agent_ora_s
|
|||||||
false); //is_autoincrement
|
false); //is_autoincrement
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (OB_SUCC(ret)) {
|
||||||
|
ADD_COLUMN_SCHEMA("DATABASE_NAME", //column_name
|
||||||
|
++column_id, //column_id
|
||||||
|
0, //rowkey_id
|
||||||
|
0, //index_id
|
||||||
|
0, //part_key_pos
|
||||||
|
ObVarcharType, //column_type
|
||||||
|
CS_TYPE_UTF8MB4_BIN, //column_collation_type
|
||||||
|
OB_MAX_DATABASE_NAME_LENGTH, //column_length
|
||||||
|
2, //column_precision
|
||||||
|
-1, //column_scale
|
||||||
|
true, //is_nullable
|
||||||
|
false); //is_autoincrement
|
||||||
|
}
|
||||||
|
|
||||||
if (OB_SUCC(ret)) {
|
if (OB_SUCC(ret)) {
|
||||||
ADD_COLUMN_SCHEMA("GMT_CREATE", //column_name
|
ADD_COLUMN_SCHEMA("GMT_CREATE", //column_name
|
||||||
++column_id, //column_id
|
++column_id, //column_id
|
||||||
|
|||||||
@ -2431,6 +2431,21 @@ int ObInnerTableSchema::all_scheduler_job_run_detail_v2_schema(ObTableSchema &ta
|
|||||||
false, //is_nullable
|
false, //is_nullable
|
||||||
false); //is_autoincrement
|
false); //is_autoincrement
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (OB_SUCC(ret)) {
|
||||||
|
ADD_COLUMN_SCHEMA("database_name", //column_name
|
||||||
|
++column_id, //column_id
|
||||||
|
0, //rowkey_id
|
||||||
|
0, //index_id
|
||||||
|
0, //part_key_pos
|
||||||
|
ObVarcharType, //column_type
|
||||||
|
CS_TYPE_INVALID, //column_collation_type
|
||||||
|
OB_MAX_DATABASE_NAME_LENGTH, //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_index_using_type(USING_BTREE);
|
||||||
table_schema.set_row_store_type(ENCODING_ROW_STORE);
|
table_schema.set_row_store_type(ENCODING_ROW_STORE);
|
||||||
table_schema.set_store_format(OB_STORE_FORMAT_DYNAMIC_MYSQL);
|
table_schema.set_store_format(OB_STORE_FORMAT_DYNAMIC_MYSQL);
|
||||||
|
|||||||
@ -7294,6 +7294,7 @@ def_table_schema(
|
|||||||
('destination_owner', 'varchar:128', 'true'),
|
('destination_owner', 'varchar:128', 'true'),
|
||||||
('destination', 'varchar:128', 'true'),
|
('destination', 'varchar:128', 'true'),
|
||||||
('message', 'varchar:4000'),
|
('message', 'varchar:4000'),
|
||||||
|
('database_name', 'varchar:OB_MAX_DATABASE_NAME_LENGTH', 'true'),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -9641,6 +9641,7 @@ credential_name varchar(128) YES NULL
|
|||||||
destination_owner varchar(128) YES NULL
|
destination_owner varchar(128) YES NULL
|
||||||
destination varchar(128) YES NULL
|
destination varchar(128) YES NULL
|
||||||
message varchar(4000) NO NULL
|
message varchar(4000) NO NULL
|
||||||
|
database_name varchar(128) YES NULL
|
||||||
select /*+QUERY_TIMEOUT(60000000)*/ IF(count(*) >= 0, 1, 0) from oceanbase.__all_virtual_scheduler_job_run_detail_v2;
|
select /*+QUERY_TIMEOUT(60000000)*/ IF(count(*) >= 0, 1, 0) from oceanbase.__all_virtual_scheduler_job_run_detail_v2;
|
||||||
IF(count(*) >= 0, 1, 0)
|
IF(count(*) >= 0, 1, 0)
|
||||||
1
|
1
|
||||||
|
|||||||
Reference in New Issue
Block a user