Commit d355be88 authored by Marko Mäkelä's avatar Marko Mäkelä

Remove dead code in dict_build_table_def_step()

At the start of the function, we already dereferenced node,
so the checks for NULL are unnecessary and redundant.
parent f8268f3c
......@@ -431,9 +431,7 @@ dict_build_table_def_step(
dberr_t err = fil_ibd_create(
space, table->name.m_name, filepath, fsp_flags,
FIL_IBD_FILE_INITIAL_SIZE,
node ? node->mode : FIL_ENCRYPTION_DEFAULT,
node ? node->key_id : FIL_DEFAULT_ENCRYPTION_KEY);
FIL_IBD_FILE_INITIAL_SIZE, node->mode, node->key_id);
ut_free(filepath);
......
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