1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

fixed BINLOG crashes in case of badly formed statement (Bug #17457)

sql/sql_binlog.cc:
  Initialize event pointer to nil,
  'ev' is used in end: section, thus initialization blocks were skipped
This commit is contained in:
unknown
2006-03-01 12:45:13 +02:00
parent 4eccd2ae6d
commit 1abdd4f93a

View File

@@ -58,7 +58,7 @@ void mysql_client_binlog_statement(THD* thd)
const char *error= 0;
char *buf= (char *) my_malloc(event_len, MYF(MY_WME));
Log_event *ev;
Log_event *ev = 0;
int res;
/*