Commit a555716d authored by Davi Arnaut's avatar Davi Arnaut

Silence warning due to unused function.

sql/field.cc:
  Function is only used if replication is compiled in.
parent 2f22ef15
...@@ -6644,6 +6644,7 @@ struct Check_field_param { ...@@ -6644,6 +6644,7 @@ struct Check_field_param {
Field *field; Field *field;
}; };
#ifdef HAVE_REPLICATION
static bool static bool
check_field_for_37426(const void *param_arg) check_field_for_37426(const void *param_arg)
{ {
...@@ -6655,7 +6656,7 @@ check_field_for_37426(const void *param_arg) ...@@ -6655,7 +6656,7 @@ check_field_for_37426(const void *param_arg)
param->field->row_pack_length())); param->field->row_pack_length()));
return param->field->row_pack_length() > 255; return param->field->row_pack_length() > 255;
} }
#endif
int Field_string::compatible_field_size(uint field_metadata, int Field_string::compatible_field_size(uint field_metadata,
const Relay_log_info *rli_arg) const Relay_log_info *rli_arg)
......
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