Commit 845bd091 authored by marko's avatar marko

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

parent 5f42eea7
......@@ -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 @@ ha_innobase::add_index(
goto error_handling;
}
if (index_defs[i].ind_type & DICT_UNIQUE) {
new_unique = TRUE;
}
num_created++;
}
......
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