1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Fixed compiler warning

This commit is contained in:
Michael Widenius
2011-12-01 20:21:11 +02:00
parent 7ee1790976
commit 02963d45e3

View File

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