Commit 1fef36ac authored by marko's avatar marko

branches/zip: dict_col_get_clust_pos(): Split a debug assertion, and

make use of dict_index_is_clust().
parent 3882df89
......@@ -126,7 +126,8 @@ dict_col_get_clust_pos(
ulint i;
ut_ad(col);
ut_ad(clust_index && clust_index->type & DICT_CLUSTERED);
ut_ad(clust_index);
ut_ad(dict_index_is_clust(clust_index));
for (i = 0; i < clust_index->n_def; i++) {
const dict_field_t* field = &clust_index->fields[i];
......
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