Commit a42a3222 authored by midom@flute.local's avatar midom@flute.local

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

parent 9de15fa9
...@@ -58,7 +58,7 @@ void mysql_client_binlog_statement(THD* thd) ...@@ -58,7 +58,7 @@ void mysql_client_binlog_statement(THD* thd)
const char *error= 0; const char *error= 0;
char *buf= (char *) my_malloc(event_len, MYF(MY_WME)); char *buf= (char *) my_malloc(event_len, MYF(MY_WME));
Log_event *ev; Log_event *ev = 0;
int res; int res;
/* /*
......
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