Browse Source

branches/zip: ha_innobase::add_index(): Remove the unused variable new_unique.

pull/374/head
marko 19 years ago
parent
commit
845bd0914c
  1. 6
      handler/ha_innodb.cc

6
handler/ha_innodb.cc

@ -8297,7 +8297,6 @@ ha_innobase::add_index(
ulint num_created;
ibool dict_locked = FALSE;
ulint new_primary;
ibool new_unique = FALSE;
ulint error;
DBUG_ENTER("ha_innobase::add_index");
@ -8410,11 +8409,6 @@ err_exit:
goto error_handling;
}
if (index_defs[i].ind_type & DICT_UNIQUE) {
new_unique = TRUE;
}
num_created++;
}

Loading…
Cancel
Save