Commit 54b5d592 authored by unknown's avatar unknown

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


client/mysql.cc:
  In com_go(): Initialize 'warnings' count, in case an error occurs before
  it is properly set.
parent 3ed9107b
......@@ -2155,7 +2155,8 @@ com_go(String *buffer,char *line __attribute__((unused)))
{
char buff[200], time_buff[32], *pos;
MYSQL_RES *result;
ulong timer, warnings;
ulong timer;
ulong warnings= 0;
uint error= 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