Skip to content

Commit

Permalink
small compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
njnes committed Jan 22, 2021
1 parent c1a55e6 commit 46507a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/storage/objectset.c
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ static bte os_get_state(objectversion *ov) {

static int
os_del_name_based(objectset *os, struct sql_trans *tr, const char *name, objectversion *ov) {
versionhead *name_based_node;
versionhead *name_based_node = NULL;
if (ov->id_based_older && strcmp(ov->id_based_older->b->name, name) == 0)
name_based_node = ov->id_based_older->name_based_head;
else if (os->unique) // Previous name based objectversion is of a different id, so now we do have to perform an extensive look up
Expand Down

0 comments on commit 46507a2

Please sign in to comment.