summaryrefslogtreecommitdiff
path: root/storage/example/ha_example.cc
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2011-12-01 20:21:11 +0200
committerMichael Widenius <monty@askmonty.org>2011-12-01 20:21:11 +0200
commit02963d45e37e85619e33f49d82e26157c8b580f6 (patch)
tree20468ab6b20d22aa2f634d0b6d866218be005732 /storage/example/ha_example.cc
parent7ee179097669f36809891e35b734954c55101542 (diff)
downloadmariadb-git-02963d45e37e85619e33f49d82e26157c8b580f6.tar.gz
Fixed compiler warning
Diffstat (limited to 'storage/example/ha_example.cc')
-rw-r--r--storage/example/ha_example.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/example/ha_example.cc b/storage/example/ha_example.cc
index 067bd00cdbf..8d5185ae0c7 100644
--- a/storage/example/ha_example.cc
+++ b/storage/example/ha_example.cc
@@ -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);
}