Commit 42be8c16 authored by Venkatesh Duggirala's avatar Venkatesh Duggirala

Bug17632978 SLAVE CRASHES IF ROW EVENT IS CORRUPTED

(MYSQLBINLOG -V CRASHES WITH THAT BINLOG)

Post Push: Fixing Werror compiler issue 
parent b0a5086c
...@@ -197,7 +197,7 @@ int compare_lengths(Field *field, enum_field_types source_type, uint16 metadata) ...@@ -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 table_def::calc_field_size(uint col, uchar *master_data) const
{ {
uint32 length; uint32 length= 0;
switch (type(col)) { switch (type(col)) {
case MYSQL_TYPE_NEWDECIMAL: case MYSQL_TYPE_NEWDECIMAL:
......
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