Skip to content
Snippets Groups Projects
Commit 0e6c4dd3 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Style fix.

parent 9c95a3e6
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,8 @@ key_init(struct key_def *def, struct tarantool_cfg_space_index *cfg_index)
def->parts[k].fieldno = cfg_key->fieldno;
def->parts[k].type = STR2ENUM(field_data_type, cfg_key->type);
/* fill compare order */
if (def->cmp_order[cfg_key->fieldno] == -1) def->cmp_order[cfg_key->fieldno] = k;
if (def->cmp_order[cfg_key->fieldno] == -1)
def->cmp_order[cfg_key->fieldno] = k;
}
def->is_unique = cfg_index->unique;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment