76367141415738bfc83da601aeeeaf05d1eee04f chmalee Fri Jul 22 11:43:03 2022 -0700 When searching a bigBed track, search first the trix index if present, and then search on any bigBed indexes. Uniqify the results. Restores behaviour changed by my previous commit while still removing duplicates, refs #29685 diff --git src/hg/lib/hgFind.c src/hg/lib/hgFind.c index aec8171..ffed074 100644 --- src/hg/lib/hgFind.c +++ src/hg/lib/hgFind.c @@ -45,31 +45,31 @@ // Exhaustive searches can lead to timeouts on CGIs (#11626). // However, hgGetAnn requires exhaustive searches (#11665). #define NONEXHAUSTIVE_SEARCH_LIMIT 500 #define EXHAUSTIVE_SEARCH_REQUIRED -1 char *hgAppName = ""; /* alignment tables to check when looking for mrna alignments */ static char *estTables[] = { "intronEst", "all_est", "xenoEst", NULL }; static char *estLabels[] = { "Spliced ESTs", "ESTs", "Other ESTs", NULL }; static char *mrnaTables[] = { "all_mrna", "xenoMrna", NULL }; static char *mrnaLabels[] = { "mRNAs", "Other mRNAs", NULL }; static struct dyString *hgpMatchNames = NULL; -static void hgPosFree(struct hgPos **pEl) +void hgPosFree(struct hgPos **pEl) /* Free up hgPos. */ { struct hgPos *el; if ((el = *pEl) != NULL) { freeMem(el->name); freeMem(el->description); freeMem(el->browserName); freez(pEl); } } static void hgPosFreeList(struct hgPos **pList) /* Free a list of dynamically allocated hgPos's */ {