mirror of
https://github.com/MariaDB/server.git
synced 2025-04-02 05:15:33 +02:00
MDEV-22271 Excessive stack memory usage due to WSREP_LOG
fix embedded innodb_plugin tests
followup for 7198c6ab2d
This commit is contained in:
parent
f462fbac61
commit
dd4124c224
2 changed files with 4 additions and 9 deletions
|
@ -1814,15 +1814,6 @@ static void close_server_sock()
|
|||
#endif
|
||||
}
|
||||
|
||||
#else /* EMBEDDED LIBRARY */
|
||||
# ifndef _WIN32
|
||||
/* Unfortunately, ha_innodb.so is by default built WITH_WSREP, and it
|
||||
will be used for both the normal and the embedded server, while the
|
||||
embedded server library is never built WITH_WSREP. We must define this
|
||||
symbol in the embedded library, so that loading a dynamic InnoDB storage
|
||||
engine plugin will work in the embedded server library. */
|
||||
void wsrep_log(void (*)(const char *, ...), const char *, ...) {}
|
||||
# endif
|
||||
#endif /*EMBEDDED_LIBRARY*/
|
||||
|
||||
|
||||
|
|
|
@ -141,3 +141,7 @@ void wsrep_unlock_rollback()
|
|||
|
||||
void wsrep_set_data_home_dir(const char *)
|
||||
{ }
|
||||
|
||||
void wsrep_log(void (*)(const char *, ...), const char *, ...)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue