Commit 697da8cf authored by Luis Soares's avatar Luis Soares

Automerge: merged bug bundle from bug report into latest

mysql-trunk-bugfixing.
parents a2ed9137 c340c3aa
...@@ -1729,8 +1729,8 @@ log_event_print_value(IO_CACHE *file, const uchar *ptr, ...@@ -1729,8 +1729,8 @@ log_event_print_value(IO_CACHE *file, const uchar *ptr,
{ {
uint32 tmp= uint3korr(ptr); uint32 tmp= uint3korr(ptr);
int part; int part;
char buf[10]; char buf[11];
char *pos= &buf[10]; char *pos= &buf[10]; // start from '\0' to the beginning
/* Copied from field.cc */ /* Copied from field.cc */
*pos--=0; // End NULL *pos--=0; // End NULL
......
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