Added BLRM_MASTER_REGITRATION_QUERY_LEN constant
Added BLRM_MASTER_REGITRATION_QUERY_LEN constant
This commit is contained in:
@ -176,6 +176,9 @@
|
|||||||
/* string len for temp binlog filename */
|
/* string len for temp binlog filename */
|
||||||
#define BLRM_SET_HEARTBEAT_QUERY_LEN 80
|
#define BLRM_SET_HEARTBEAT_QUERY_LEN 80
|
||||||
|
|
||||||
|
/* string len for master registration query */
|
||||||
|
#define BLRM_MASTER_REGITRATION_QUERY_LEN 255
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Some useful macros for examining the MySQL Response packets
|
* Some useful macros for examining the MySQL Response packets
|
||||||
*/
|
*/
|
||||||
|
@ -325,7 +325,7 @@ char *name;
|
|||||||
void
|
void
|
||||||
blr_master_response(ROUTER_INSTANCE *router, GWBUF *buf)
|
blr_master_response(ROUTER_INSTANCE *router, GWBUF *buf)
|
||||||
{
|
{
|
||||||
char query[128];
|
char query[BLRM_MASTER_REGITRATION_QUERY_LEN+1];
|
||||||
char task_name[BLRM_TASK_NAME_LEN + 1] = "";
|
char task_name[BLRM_TASK_NAME_LEN + 1] = "";
|
||||||
|
|
||||||
atomic_add(&router->handling_threads, 1);
|
atomic_add(&router->handling_threads, 1);
|
||||||
|
Reference in New Issue
Block a user