mirror of
https://github.com/MariaDB/server.git
synced 2025-12-12 08:01:43 +03:00
branches/zip: Minor cleanup.
row_remove_indexes_for_mysql(): Rename to row_merge_drop_indexes(), move from row0mysql.c to row0merge.c and make the return type void. row_merge_remove_index(): Rename to row_merge_drop_index() and make the return type void.
This commit is contained in:
@@ -523,19 +523,6 @@ row_create_index_graph_for_mysql(
|
||||
trx_t* trx, /* in: trx */
|
||||
dict_table_t* table, /* in: table */
|
||||
dict_index_t* index); /* in: index */
|
||||
/*************************************************************************
|
||||
Remove those indexes which were created before a error happened in
|
||||
the index build */
|
||||
|
||||
ulint
|
||||
row_remove_indexes_for_mysql(
|
||||
/*=========================*/
|
||||
/* out: 0 or error code */
|
||||
trx_t* trx, /* in: transaction */
|
||||
dict_table_t* table, /* in: Table where index is created */
|
||||
dict_index_t** index, /* in: Indexes to be created */
|
||||
ulint num_created); /* in: Number of indexes created
|
||||
before error and now must be removed */
|
||||
/***************************************************************************
|
||||
Writes information to an undo log about dictionary operation, create_table.
|
||||
This information is used in a rollback of the transaction. */
|
||||
|
||||
Reference in New Issue
Block a user