mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixing return value.
sql/item_cmpfunc.cc: Minor fix to return correct value in case of error. sql/rpl_utility.cc: Minor fix to return correct value in case of error.
This commit is contained in:
@ -164,7 +164,7 @@ uint32 table_def::calc_field_size(uint col, uchar *master_data) const
|
||||
break;
|
||||
}
|
||||
default:
|
||||
length= ~(uint32) -1;
|
||||
length= ~(uint32) 0;
|
||||
}
|
||||
return length;
|
||||
}
|
||||
|
Reference in New Issue
Block a user