diff options
author | Michael Widenius <monty@askmonty.org> | 2011-12-03 20:44:54 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2011-12-03 20:44:54 +0200 |
commit | ef841d4c874b0635a07b6592356d575a555beeb5 (patch) | |
tree | 2ce7cacafa5e9406a103569bb6ce4c3648400def /storage/example | |
parent | c0311edfb90c96a2bf9db746fb0bbf1b1cee54e1 (diff) | |
download | mariadb-git-ef841d4c874b0635a07b6592356d575a555beeb5.tar.gz |
Fixed buildbot warnings
mysql-test/suite/maria/t/compat_aliases-master.opt:
Fixed wrong limit
storage/example/ha_example.cc:
Fixed compiler warning
Diffstat (limited to 'storage/example')
-rw-r--r-- | storage/example/ha_example.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/example/ha_example.cc b/storage/example/ha_example.cc index 8d5185ae0c7..013a92fc780 100644 --- a/storage/example/ha_example.cc +++ b/storage/example/ha_example.cc @@ -947,7 +947,6 @@ bool ha_example::check_if_incompatible_data(HA_CREATE_INFO *info, uint table_changes) { ha_table_option_struct *param_old, *param_new; - uint i; DBUG_ENTER("ha_example::check_if_incompatible_data"); /* This example shows how custom engine specific table and field @@ -978,7 +977,7 @@ bool ha_example::check_if_incompatible_data(HA_CREATE_INFO *info, DBUG_RETURN(COMPATIBLE_DATA_NO); #ifndef DBUG_OFF - for (i= 0; i < table->s->fields; i++) + for (uint i= 0; i < table->s->fields; i++) { ha_field_option_struct *f_old, *f_new; f_old= table->s->field[i]->option_struct; |