remove unused frozen scn for schema.

This commit is contained in:
obdev
2022-12-05 09:08:52 +00:00
committed by ob-robot
parent aae62f3935
commit fddecc1ae2
8 changed files with 70 additions and 198 deletions

View File

@ -56,7 +56,6 @@ public:
virtual ~ObIndexBuilder();
int create_index(const obrpc::ObCreateIndexArg &arg,
const share::SCN &frozen_scn,
obrpc::ObAlterTableRes &res);
int drop_index(const obrpc::ObDropIndexArg &arg, obrpc::ObDropIndexRes &res);
@ -64,22 +63,18 @@ public:
// if not all index table updated return OB_EAGAIN.
int do_create_index(
const obrpc::ObCreateIndexArg &arg,
const share::SCN &frozen_scn,
obrpc::ObAlterTableRes &res);
int do_create_global_index(
share::schema::ObSchemaGetterGuard &schema_guard,
const obrpc::ObCreateIndexArg &arg,
const share::schema::ObTableSchema &table_schema,
const share::SCN &frozen_scn,
obrpc::ObAlterTableRes &res);
int do_create_local_index(
share::schema::ObSchemaGetterGuard &schema_guard,
const obrpc::ObCreateIndexArg &arg,
const share::schema::ObTableSchema &table_schema,
const share::SCN &frozen_scn,
obrpc::ObAlterTableRes &res);
int generate_schema(const obrpc::ObCreateIndexArg &arg,
const share::SCN &frozen_scn,
share::schema::ObTableSchema &data_schema,
const bool global_index_without_column_info,
share::schema::ObTableSchema &index_schema);
@ -110,7 +105,6 @@ private:
};
int set_basic_infos(const obrpc::ObCreateIndexArg &arg,
const share::SCN &frozen_scn,
const share::schema::ObTableSchema &data_schema,
share::schema::ObTableSchema &schema);
int set_index_table_columns(const obrpc::ObCreateIndexArg &arg,