fix format outline placeholder fields
This commit is contained in:
@ -236,6 +236,21 @@ int ObInnerTableSchema::tenant_virtual_outline_schema(ObTableSchema &table_schem
|
||||
false); //is_autoincrement
|
||||
}
|
||||
|
||||
if (OB_SUCC(ret)) {
|
||||
ADD_COLUMN_SCHEMA("format_sql_text", //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
|
||||
}
|
||||
|
||||
if (OB_SUCC(ret)) {
|
||||
ObObj format_sql_id_default;
|
||||
format_sql_id_default.set_varbinary(ObString::make_string(""));
|
||||
|
||||
@ -5074,6 +5074,21 @@ int ObInnerTableSchema::tenant_virtual_outline_agent_schema(ObTableSchema &table
|
||||
false); //is_autoincrement
|
||||
}
|
||||
|
||||
if (OB_SUCC(ret)) {
|
||||
ADD_COLUMN_SCHEMA("FORMAT_SQL_TEXT", //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
|
||||
}
|
||||
|
||||
if (OB_SUCC(ret)) {
|
||||
ADD_COLUMN_SCHEMA("FORMAT_SQL_ID", //column_name
|
||||
++column_id, //column_id
|
||||
|
||||
@ -8531,6 +8531,7 @@ def_table_schema(
|
||||
('outline_sql', 'longtext', 'false'),
|
||||
('sql_id', 'varchar:OB_MAX_SQL_ID_LENGTH', 'false', ''),
|
||||
('outline_content', 'longtext', 'false'),
|
||||
('format_sql_text', 'longtext', 'true'),
|
||||
('format_sql_id', 'varbinary:OB_MAX_SQL_ID_LENGTH', 'false', ''),
|
||||
('format_outline', 'int', 'false', '0')
|
||||
],
|
||||
|
||||
@ -1072,6 +1072,7 @@ outline_target longtext NO NULL
|
||||
outline_sql longtext NO NULL
|
||||
sql_id varchar(32) NO
|
||||
outline_content longtext NO NULL
|
||||
format_sql_text longtext YES NULL
|
||||
format_sql_id varbinary(32) NO
|
||||
format_outline bigint(20) NO 0
|
||||
select /*+QUERY_TIMEOUT(60000000)*/ IF(count(*) >= 0, 1, 0) from oceanbase.__tenant_virtual_outline;
|
||||
|
||||
@ -1192,6 +1192,7 @@ outline_target longtext NO NULL
|
||||
outline_sql longtext NO NULL
|
||||
sql_id varchar(32) NO
|
||||
outline_content longtext NO NULL
|
||||
format_sql_text longtext YES NULL
|
||||
format_sql_id varbinary(32) NO
|
||||
format_outline bigint(20) NO 0
|
||||
select /*+QUERY_TIMEOUT(60000000)*/ IF(count(*) >= 0, 1, 0) from oceanbase.__tenant_virtual_outline;
|
||||
|
||||
Reference in New Issue
Block a user