Commit dd4124c2 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-22271 Excessive stack memory usage due to WSREP_LOG

fix embedded innodb_plugin tests

followup for 7198c6ab
parent f462fbac
......@@ -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 *, ...)
{
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment