9eb077ddb52fdfc77ea5c08bce92e6cf19d14b17 tdreszer Wed Sep 28 10:48:10 2011 -0700 Added a define back in that was accidentally removed. diff --git src/hg/lib/hdb.c src/hg/lib/hdb.c index d102a9e..91a2616 100644 --- src/hg/lib/hdb.c +++ src/hg/lib/hdb.c @@ -3820,30 +3820,31 @@ if (tdbList != NULL) *tdbList = theTdbs; } } else theTdbs = *tdbList; return rFindTrack(0, theTdbs, track); } struct trackDb *hTrackDbForTrackAndAncestors(char *db, char *track) /* Load trackDb object for a track. If need be grab its ancestors too. * This does not load children. hTrackDbForTrack will handle children, and * is actually faster if being called on lots of tracks. This function * though is faster on one or two tracks. */ { +#define HGAPI_NEEDS_THIS #ifdef HGAPI_NEEDS_THIS if (isHubTrack(track)) return tdbForTrack(db, track,NULL); #endif///def HGAPI_NEEDS_THIS struct sqlConnection *conn = hAllocConn(db); struct trackDb *tdb = loadTrackDbForTrack(conn, track); struct trackDb *ancestor = tdb; for (;;) { /* Get name of previous generation if any handling both * composite and supertrack ancestor tags. */ char *parentTrack = NULL; char *parent = trackDbLocalSetting(ancestor, "parent"); if (parent != NULL)