Make row_mysql_table_id_reassign() static

This commit is contained in:
Marko Mäkelä 2018-01-18 09:29:49 +02:00
parent 4c1479545d
commit 5e87f49a99
4 changed files with 4 additions and 28 deletions

View File

@ -586,18 +586,6 @@ void
row_mysql_close(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 /* A struct describing a place for an individual column in the MySQL
row format which is presented to the table handler in ha_innobase. row format which is presented to the table handler in ha_innobase.
This template struct is used to speed up row transformations between This template struct is used to speed up row transformations between

View File

@ -1,7 +1,7 @@
/***************************************************************************** /*****************************************************************************
Copyright (c) 2000, 2017, Oracle and/or its affiliates. All Rights Reserved. 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 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 the terms of the GNU General Public License as published by the Free Software
@ -2828,7 +2828,7 @@ func_exit:
/*********************************************************************//** /*********************************************************************//**
Reassigns the table identifier of a table. Reassigns the table identifier of a table.
@return error code or DB_SUCCESS */ @return error code or DB_SUCCESS */
UNIV_INTERN static
dberr_t dberr_t
row_mysql_table_id_reassign( row_mysql_table_id_reassign(
/*========================*/ /*========================*/

View File

@ -588,18 +588,6 @@ void
row_mysql_close(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 /* A struct describing a place for an individual column in the MySQL
row format which is presented to the table handler in ha_innobase. row format which is presented to the table handler in ha_innobase.
This template struct is used to speed up row transformations between This template struct is used to speed up row transformations between

View File

@ -1,7 +1,7 @@
/***************************************************************************** /*****************************************************************************
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All Rights Reserved. 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 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 the terms of the GNU General Public License as published by the Free Software
@ -2840,7 +2840,7 @@ func_exit:
/*********************************************************************//** /*********************************************************************//**
Reassigns the table identifier of a table. Reassigns the table identifier of a table.
@return error code or DB_SUCCESS */ @return error code or DB_SUCCESS */
UNIV_INTERN static
dberr_t dberr_t
row_mysql_table_id_reassign( row_mysql_table_id_reassign(
/*========================*/ /*========================*/