Bug17632978 SLAVE CRASHES IF ROW EVENT IS CORRUPTED

(MYSQLBINLOG -V CRASHES WITH THAT BINLOG)

Post Push: Fixing Werror compiler issue
This commit is contained in:
Venkatesh Duggirala 2013-12-18 13:52:49 +05:30
parent 5fa9664b07
commit 11c0805e1d

View file

@ -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: