diff options
author | Venkatesh Duggirala <venkatesh.duggirala@oracle.com> | 2013-12-18 13:52:49 +0530 |
---|---|---|
committer | Venkatesh Duggirala <venkatesh.duggirala@oracle.com> | 2013-12-18 13:52:49 +0530 |
commit | 11c0805e1d4ab1ba3e3b83aa5c041d69a6efa831 (patch) | |
tree | 775ef2f74fd1027560604a7063422e1c481a8ce3 /sql/rpl_utility.cc | |
parent | 5fa9664b07f9b45f883abb138966c6e49239eb3e (diff) | |
download | mariadb-git-11c0805e1d4ab1ba3e3b83aa5c041d69a6efa831.tar.gz |
Bug17632978 SLAVE CRASHES IF ROW EVENT IS CORRUPTED
(MYSQLBINLOG -V CRASHES WITH THAT BINLOG)
Post Push: Fixing Werror compiler issue
Diffstat (limited to 'sql/rpl_utility.cc')
-rw-r--r-- | sql/rpl_utility.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/rpl_utility.cc b/sql/rpl_utility.cc index 16db07af4c2..3bd423fa8c9 100644 --- a/sql/rpl_utility.cc +++ b/sql/rpl_utility.cc @@ -197,7 +197,7 @@ int compare_lengths(Field *field, enum_field_types source_type, uint16 metadata) */ uint32 table_def::calc_field_size(uint col, uchar *master_data) const { - uint32 length; + uint32 length= 0; switch (type(col)) { case MYSQL_TYPE_NEWDECIMAL: |