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

This commit is contained in:
tsmith@ramayana.hindu.god 2007-11-27 12:15:35 -07:00
parent ab12b26671
commit 44ba2ae716

View file

@ -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;