Variable moved
Variable moved
This commit is contained in:
parent
1b0c7d0d90
commit
0a3f20f8af
@ -1697,7 +1697,6 @@ uint8_t *ptr;
|
||||
int len, rval, binlognamelen;
|
||||
REP_HEADER hdr;
|
||||
uint32_t chksum;
|
||||
bool force_disconnect = false;
|
||||
|
||||
ptr = GWBUF_DATA(queue);
|
||||
len = extract_field(ptr, 24);
|
||||
@ -1731,6 +1730,8 @@ bool force_disconnect = false;
|
||||
* Force slave disconnection if requested position is unsafe.
|
||||
*/
|
||||
|
||||
bool force_disconnect = false;
|
||||
|
||||
spinlock_acquire(&router->binlog_lock);
|
||||
if (router->pending_transaction && strcmp(router->binlog_name, slave->binlogfile) == 0 &&
|
||||
(slave->binlog_pos > router->binlog_position) && !router->rotating)
|
||||
|
Loading…
x
Reference in New Issue
Block a user