Loading newbrt/brt.c +3 −0 Original line number Diff line number Diff line Loading @@ -3474,6 +3474,9 @@ int toku_update_descriptor(struct brt_header * h, DESCRIPTOR d, int fd) static void brt_update_cmp_descriptor(BRT t) { if (t->h->cmp_descriptor.dbt.data != NULL) { toku_free(t->h->cmp_descriptor.dbt.data); } t->h->cmp_descriptor.dbt.size = t->h->descriptor.dbt.size; t->h->cmp_descriptor.dbt.data = toku_xmemdup( t->h->descriptor.dbt.data, Loading Loading
newbrt/brt.c +3 −0 Original line number Diff line number Diff line Loading @@ -3474,6 +3474,9 @@ int toku_update_descriptor(struct brt_header * h, DESCRIPTOR d, int fd) static void brt_update_cmp_descriptor(BRT t) { if (t->h->cmp_descriptor.dbt.data != NULL) { toku_free(t->h->cmp_descriptor.dbt.data); } t->h->cmp_descriptor.dbt.size = t->h->descriptor.dbt.size; t->h->cmp_descriptor.dbt.data = toku_xmemdup( t->h->descriptor.dbt.data, Loading