markref冲突时候刷新 cache

This commit is contained in:
hong
2019-06-04 18:53:23 +08:00
committed by 云风
parent 64d99c1bd5
commit 9ffa0c6e30

View File

@@ -353,12 +353,10 @@ markref(struct ssm_ref *r, TString *s, int changeref) {
if (changeref)
DEC_SREF(s);
return;
} else {
insert_ref(r, s);
}
} else {
r->hash[slot] = s;
insert_ref(r, hs);
}
r->hash[slot] = s;
}
void