Loading client/mysqltest.c +3 −2 Original line number Diff line number Diff line Loading @@ -2183,7 +2183,7 @@ int do_connect(struct st_query *q) VAR *var_port, *var_sock; DBUG_ENTER("do_connect"); DBUG_PRINT("enter",("connect: %s",p)); DBUG_PRINT("enter",("connect: %s", q->first_argument)); /* Make a copy of query before parsing, safe_get_param will modify */ if (!(con_buf= my_strdup(q->first_argument, MYF(MY_WME)))) Loading Loading @@ -2257,7 +2257,8 @@ int do_connect(struct st_query *q) die("Illegal option to connect: %s", con_options); con_options= str; } q->last_argument= p; /* Note: 'p' is pointing into the copy 'con_buf' */ q->last_argument= q->first_argument + (p - con_buf); if (next_con == cons_end) die("Connection limit exhausted - increase MAX_CONS in mysqltest.c"); Loading Loading
client/mysqltest.c +3 −2 Original line number Diff line number Diff line Loading @@ -2183,7 +2183,7 @@ int do_connect(struct st_query *q) VAR *var_port, *var_sock; DBUG_ENTER("do_connect"); DBUG_PRINT("enter",("connect: %s",p)); DBUG_PRINT("enter",("connect: %s", q->first_argument)); /* Make a copy of query before parsing, safe_get_param will modify */ if (!(con_buf= my_strdup(q->first_argument, MYF(MY_WME)))) Loading Loading @@ -2257,7 +2257,8 @@ int do_connect(struct st_query *q) die("Illegal option to connect: %s", con_options); con_options= str; } q->last_argument= p; /* Note: 'p' is pointing into the copy 'con_buf' */ q->last_argument= q->first_argument + (p - con_buf); if (next_con == cons_end) die("Connection limit exhausted - increase MAX_CONS in mysqltest.c"); Loading