Skip to content

Commit 5e87f49

Browse files
committed
Make row_mysql_table_id_reassign() static
1 parent 4c14795 commit 5e87f49

File tree

4 files changed

+4
-28
lines changed

4 files changed

+4
-28
lines changed

storage/innobase/include/row0mysql.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -586,18 +586,6 @@ void
586586
row_mysql_close(void);
587587
/*=================*/
588588

589-
/*********************************************************************//**
590-
Reassigns the table identifier of a table.
591-
@return error code or DB_SUCCESS */
592-
UNIV_INTERN
593-
dberr_t
594-
row_mysql_table_id_reassign(
595-
/*========================*/
596-
dict_table_t*table,/*!< in/out: table */
597-
trx_t*trx,/*!< in/out: transaction */
598-
table_id_t*new_id) /*!< out: new table id */
599-
MY_ATTRIBUTE((nonnull, warn_unused_result));
600-
601589
/* A struct describing a place for an individual column in the MySQL
602590
row format which is presented to the table handler in ha_innobase.
603591
This template struct is used to speed up row transformations between

storage/innobase/row/row0mysql.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*****************************************************************************
22
33
Copyright (c) 2000, 2017, Oracle and/or its affiliates. All Rights Reserved.
4-
Copyright (c) 2017, MariaDB Corporation.
4+
Copyright (c) 2017, 2018, MariaDB Corporation.
55
66
This program is free software; you can redistribute it and/or modify it under
77
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)
28282828
/*********************************************************************//**
28292829
Reassigns the table identifier of a table.
28302830
@return error code or DB_SUCCESS */
2831-
UNIV_INTERN
2831+
static
28322832
dberr_t
28332833
row_mysql_table_id_reassign(
28342834
/*========================*/

storage/xtradb/include/row0mysql.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -588,18 +588,6 @@ void
588588
row_mysql_close(void);
589589
/*=================*/
590590

591-
/*********************************************************************//**
592-
Reassigns the table identifier of a table.
593-
@return error code or DB_SUCCESS */
594-
UNIV_INTERN
595-
dberr_t
596-
row_mysql_table_id_reassign(
597-
/*========================*/
598-
dict_table_t*table,/*!< in/out: table */
599-
trx_t*trx,/*!< in/out: transaction */
600-
table_id_t*new_id) /*!< out: new table id */
601-
MY_ATTRIBUTE((nonnull, warn_unused_result));
602-
603591
/* A struct describing a place for an individual column in the MySQL
604592
row format which is presented to the table handler in ha_innobase.
605593
This template struct is used to speed up row transformations between

storage/xtradb/row/row0mysql.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*****************************************************************************
22
33
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All Rights Reserved.
4-
Copyright (c) 2017, MariaDB Corporation.
4+
Copyright (c) 2017, 2018, MariaDB Corporation.
55
66
This program is free software; you can redistribute it and/or modify it under
77
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)
28402840
/*********************************************************************//**
28412841
Reassigns the table identifier of a table.
28422842
@return error code or DB_SUCCESS */
2843-
UNIV_INTERN
2843+
static
28442844
dberr_t
28452845
row_mysql_table_id_reassign(
28462846
/*========================*/

0 commit comments

Comments
 (0)