Fix possible use of uninitialized variable during error handling in mysql.cc

parent ab12b266
...@@ -2155,7 +2155,8 @@ com_go(String *buffer,char *line __attribute__((unused))) ...@@ -2155,7 +2155,8 @@ com_go(String *buffer,char *line __attribute__((unused)))
{ {
char buff[200], time_buff[32], *pos; char buff[200], time_buff[32], *pos;
MYSQL_RES *result; MYSQL_RES *result;
ulong timer, warnings; ulong timer;
ulong warnings= 0;
uint error= 0; uint error= 0;
int err= 0; int err= 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment