Skip to content

Commit

Permalink
after innodb/xtradb merge: use the correct visibility for internal fu…
Browse files Browse the repository at this point in the history
…nctions

otherwise innodb plugin might invoke xtradb function with the same name,
and that might crash (./mtr --emb innodb.strict_mode)
  • Loading branch information
vuvova committed Mar 6, 2015
1 parent d7d1907 commit 17a3779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion storage/innobase/handler/ha_innodb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12262,7 +12262,7 @@ innobase_convert_to_filename_charset(

/**********************************************************************
Issue a warning that the row is too big. */
extern "C"
extern "C" UNIV_INTERN
void
ib_warn_row_too_big(const dict_table_t* table)
{
Expand Down
2 changes: 1 addition & 1 deletion storage/xtradb/handler/ha_innodb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13988,7 +13988,7 @@ innobase_convert_to_filename_charset(

/**********************************************************************
Issue a warning that the row is too big. */
extern "C"
extern "C" UNIV_INTERN
void
ib_warn_row_too_big(const dict_table_t* table)
{
Expand Down

0 comments on commit 17a3779

Please sign in to comment.