MXS-1075: spinlock_release was in the wrong place

MXS-1075: spinlock_release was in the wrong place
This commit is contained in:
MassimilianoPinto
2017-02-28 15:36:12 +01:00
parent 304b5ced29
commit b24ac12601

View File

@ -1418,9 +1418,9 @@ blr_handle_binlog_record(ROUTER_INSTANCE *router, GWBUF *pkt)
strcpy(router->pending_transaction.gtid, mariadb_gtid);
router->pending_transaction.start_pos = router->current_pos;
router->pending_transaction.end_pos = 0;
}
spinlock_release(&router->binlog_lock);
spinlock_release(&router->binlog_lock);
}
}
if (hdr.event_type == QUERY_EVENT)