Skip to content

Commit 17a3779

Browse files
committed
after innodb/xtradb merge: use the correct visibility for internal functions
otherwise innodb plugin might invoke xtradb function with the same name, and that might crash (./mtr --emb innodb.strict_mode)
1 parent d7d1907 commit 17a3779

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

storage/innobase/handler/ha_innodb.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12262,7 +12262,7 @@ innobase_convert_to_filename_charset(
1226212262

1226312263
/**********************************************************************
1226412264
Issue a warning that the row is too big. */
12265-
extern "C"
12265+
extern "C" UNIV_INTERN
1226612266
void
1226712267
ib_warn_row_too_big(const dict_table_t* table)
1226812268
{

storage/xtradb/handler/ha_innodb.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13988,7 +13988,7 @@ innobase_convert_to_filename_charset(
1398813988

1398913989
/**********************************************************************
1399013990
Issue a warning that the row is too big. */
13991-
extern "C"
13991+
extern "C" UNIV_INTERN
1399213992
void
1399313993
ib_warn_row_too_big(const dict_table_t* table)
1399413994
{

0 commit comments

Comments
 (0)