Commit 80f9047c authored by Michael Widenius's avatar Michael Widenius

Fixed compiler warning

parent e976ae97
...@@ -977,6 +977,7 @@ bool ha_example::check_if_incompatible_data(HA_CREATE_INFO *info, ...@@ -977,6 +977,7 @@ bool ha_example::check_if_incompatible_data(HA_CREATE_INFO *info,
param_new->boolparam != param_old->boolparam) param_new->boolparam != param_old->boolparam)
DBUG_RETURN(COMPATIBLE_DATA_NO); DBUG_RETURN(COMPATIBLE_DATA_NO);
#ifndef DBUG_OFF
for (i= 0; i < table->s->fields; i++) for (i= 0; i < table->s->fields; i++)
{ {
ha_field_option_struct *f_old, *f_new; ha_field_option_struct *f_old, *f_new;
...@@ -997,6 +998,7 @@ bool ha_example::check_if_incompatible_data(HA_CREATE_INFO *info, ...@@ -997,6 +998,7 @@ bool ha_example::check_if_incompatible_data(HA_CREATE_INFO *info,
else else
DBUG_PRINT("info", ("old field %i did not changed", i)); DBUG_PRINT("info", ("old field %i did not changed", i));
} }
#endif
DBUG_RETURN(COMPATIBLE_DATA_YES); DBUG_RETURN(COMPATIBLE_DATA_YES);
} }
......
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