Remove unused binlogrouter variables
The unused variables cause compilation to fail.
This commit is contained in:
parent
43d5f67a76
commit
0f3a13e6ac
@ -3852,9 +3852,7 @@ int blr_handle_change_master(ROUTER_INSTANCE* router,
|
||||
char *error)
|
||||
{
|
||||
char *master_logfile = NULL;
|
||||
char *master_log_pos = NULL;
|
||||
int change_binlog = 0;
|
||||
long long pos = 0;
|
||||
MASTER_SERVER_CFG *current_master = NULL;
|
||||
CHANGE_MASTER_OPTIONS change_master;
|
||||
int parse_ret;
|
||||
@ -4007,17 +4005,6 @@ int blr_handle_change_master(ROUTER_INSTANCE* router,
|
||||
}
|
||||
}
|
||||
|
||||
/* Set new binlog position from parsed SQL command */
|
||||
master_log_pos = change_master.binlog_pos;
|
||||
if (master_log_pos == NULL)
|
||||
{
|
||||
pos = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
pos = atoll(master_log_pos);
|
||||
}
|
||||
|
||||
/* Change the replication user */
|
||||
blr_set_master_user(router, change_master.user);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user