mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix compilation warnings in -DWITH_WSREP=OFF build.
This commit is contained in:
@ -1482,7 +1482,9 @@ end:
|
|||||||
|
|
||||||
WSREP_TO_ISOLATION_END;
|
WSREP_TO_ISOLATION_END;
|
||||||
|
|
||||||
|
#ifdef WITH_WSREP
|
||||||
error:
|
error:
|
||||||
|
#endif
|
||||||
thd->tx_read_only= save_tx_read_only;
|
thd->tx_read_only= save_tx_read_only;
|
||||||
thd->security_ctx->master_access= saved_master_access;
|
thd->security_ctx->master_access= saved_master_access;
|
||||||
}
|
}
|
||||||
|
@ -5730,7 +5730,9 @@ int mysqld_main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
wsrep_init_startup (false);
|
wsrep_init_startup (false);
|
||||||
|
}
|
||||||
|
|
||||||
if (opt_bootstrap)
|
if (opt_bootstrap)
|
||||||
{
|
{
|
||||||
|
@ -4406,7 +4406,9 @@ pthread_handler_t handle_slave_sql(void *arg)
|
|||||||
my_thread_init();
|
my_thread_init();
|
||||||
DBUG_ENTER("handle_slave_sql");
|
DBUG_ENTER("handle_slave_sql");
|
||||||
|
|
||||||
|
#ifdef WITH_WSREP
|
||||||
wsrep_restart_point:
|
wsrep_restart_point:
|
||||||
|
#endif
|
||||||
|
|
||||||
serial_rgi= new rpl_group_info(rli);
|
serial_rgi= new rpl_group_info(rli);
|
||||||
thd = new THD; // note that contructor of THD uses DBUG_ !
|
thd = new THD; // note that contructor of THD uses DBUG_ !
|
||||||
|
Reference in New Issue
Block a user