mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.4 into 10.5
This commit is contained in:
@@ -1127,14 +1127,6 @@ PSI_file_key key_file_map;
|
||||
PSI_statement_info stmt_info_new_packet;
|
||||
#endif
|
||||
|
||||
#ifdef WITH_WSREP
|
||||
/** Whether the Galera write-set replication is enabled. A cached copy of
|
||||
global_system_variables.wsrep_on && wsrep_provider &&
|
||||
strcmp(wsrep_provider, WSREP_NONE)
|
||||
*/
|
||||
bool WSREP_ON_;
|
||||
#endif /* WITH_WSREP */
|
||||
|
||||
#ifndef EMBEDDED_LIBRARY
|
||||
void net_before_header_psi(struct st_net *net, void *thd, size_t /* unused: count */)
|
||||
{
|
||||
@@ -3002,7 +2994,13 @@ pthread_handler_t signal_hand(void *arg __attribute__((unused)))
|
||||
}
|
||||
break;
|
||||
case SIGHUP:
|
||||
#if defined(SI_KERNEL)
|
||||
if (!abort_loop && origin != SI_KERNEL)
|
||||
#elif defined(SI_USER)
|
||||
if (!abort_loop && origin <= SI_USER)
|
||||
#else
|
||||
if (!abort_loop)
|
||||
#endif
|
||||
{
|
||||
int not_used;
|
||||
mysql_print_status(); // Print some debug info
|
||||
@@ -5465,10 +5463,7 @@ int mysqld_main(int argc, char **argv)
|
||||
}
|
||||
|
||||
#ifdef WITH_WSREP
|
||||
WSREP_ON_= (global_system_variables.wsrep_on &&
|
||||
wsrep_provider &&
|
||||
strcmp(wsrep_provider, WSREP_NONE));
|
||||
|
||||
wsrep_set_wsrep_on();
|
||||
if (WSREP_ON && wsrep_check_opts()) unireg_abort(1);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user