Commit 273557c1 authored by Marko Mäkelä's avatar Marko Mäkelä

dict_index_t::remove_instant(): Reset n_core_null_bytes

parent f13fafe8
......@@ -1071,10 +1071,14 @@ struct dict_index_t{
void remove_instant()
{
DBUG_ASSERT(is_clust());
if (!is_instant()) {
return;
}
for (unsigned i = n_core_fields; i < n_fields; i++) {
fields[i].col->remove_instant();
}
n_core_fields = n_fields;
n_core_null_bytes = UT_BITS_IN_BYTES(n_nullable);
}
/** Check whether two indexes have the same metadata.
......
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