diff options
author | Luis Soares <luis.soares@sun.com> | 2010-04-16 00:56:26 +0100 |
---|---|---|
committer | Luis Soares <luis.soares@sun.com> | 2010-04-16 00:56:26 +0100 |
commit | 769787ca60b39a0388a3e346960fe9b04d2f3e89 (patch) | |
tree | ab3d735a5f9c0ef9c1a09714636f0f942acb6d54 /sql/log_event.cc | |
parent | 6b278654a1c6c4bd785b3516c729b2306048ea8e (diff) | |
parent | a086b2b0d352ad83c2b7adbbdfc5d22ba01334bd (diff) | |
download | mariadb-git-769787ca60b39a0388a3e346960fe9b04d2f3e89.tar.gz |
Automerge: merged bug bundle from bug report into latest
mysql-trunk-bugfixing.
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r-- | sql/log_event.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc index a1f8a791c49..fc097414726 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -1729,8 +1729,8 @@ log_event_print_value(IO_CACHE *file, const uchar *ptr, { uint32 tmp= uint3korr(ptr); int part; - char buf[10]; - char *pos= &buf[10]; + char buf[11]; + char *pos= &buf[10]; // start from '\0' to the beginning /* Copied from field.cc */ *pos--=0; // End NULL |