Skip to content
Permalink
Browse files
Make row_mysql_table_id_reassign() static
  • Loading branch information
dr-m committed Jan 18, 2018
1 parent 4c14795 commit 5e87f49
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 28 deletions.
@@ -586,18 +586,6 @@ void
row_mysql_close(void);
/*=================*/

/*********************************************************************//**
Reassigns the table identifier of a table.
@return error code or DB_SUCCESS */
UNIV_INTERN
dberr_t
row_mysql_table_id_reassign(
/*========================*/
dict_table_t* table, /*!< in/out: table */
trx_t* trx, /*!< in/out: transaction */
table_id_t* new_id) /*!< out: new table id */
MY_ATTRIBUTE((nonnull, warn_unused_result));

/* A struct describing a place for an individual column in the MySQL
row format which is presented to the table handler in ha_innobase.
This template struct is used to speed up row transformations between
@@ -1,7 +1,7 @@
/*****************************************************************************
Copyright (c) 2000, 2017, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2017, MariaDB Corporation.
Copyright (c) 2017, 2018, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -2828,7 +2828,7 @@ row_add_table_to_background_drop_list(table_id_t table_id)
/*********************************************************************//**
Reassigns the table identifier of a table.
@return error code or DB_SUCCESS */
UNIV_INTERN
static
dberr_t
row_mysql_table_id_reassign(
/*========================*/
@@ -588,18 +588,6 @@ void
row_mysql_close(void);
/*=================*/

/*********************************************************************//**
Reassigns the table identifier of a table.
@return error code or DB_SUCCESS */
UNIV_INTERN
dberr_t
row_mysql_table_id_reassign(
/*========================*/
dict_table_t* table, /*!< in/out: table */
trx_t* trx, /*!< in/out: transaction */
table_id_t* new_id) /*!< out: new table id */
MY_ATTRIBUTE((nonnull, warn_unused_result));

/* A struct describing a place for an individual column in the MySQL
row format which is presented to the table handler in ha_innobase.
This template struct is used to speed up row transformations between
@@ -1,7 +1,7 @@
/*****************************************************************************
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2017, MariaDB Corporation.
Copyright (c) 2017, 2018, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -2840,7 +2840,7 @@ row_add_table_to_background_drop_list(table_id_t table_id)
/*********************************************************************//**
Reassigns the table identifier of a table.
@return error code or DB_SUCCESS */
UNIV_INTERN
static
dberr_t
row_mysql_table_id_reassign(
/*========================*/

0 comments on commit 5e87f49

Please sign in to comment.