6823728f16334d9b53bd595688c8f5780cf833fe braney Sun Feb 16 12:13:13 2025 -0800 ongoing work on quickLift. Added support for SQL beds diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h index 821eb30ca50..5b8ee7548ba 100644 --- src/hg/inc/hubConnect.h +++ src/hg/inc/hubConnect.h @@ -79,32 +79,32 @@ void hubConnectStatusFree(struct hubConnectStatus **pHub); /* Free hubConnectStatus */ void hubConnectStatusFreeList(struct hubConnectStatus **pList); /* Free a list of dynamically allocated hubConnectStatus's */ struct hubConnectStatus *hubConnectStatusForIdExt(struct sqlConnection *conn, int id, char *replaceDb, char *newDb, char *quickLiftChain); /* Given a hub ID return associated status. For quickLifted hubs, replace the db with our current db and * keep track of the quickLiftChain for updating trackDb later.*/ struct hubConnectStatus *hubConnectStatusForId( struct sqlConnection *conn, int id); /* Given a hub ID return associated status. */ -struct hubConnectStatus *hubConnectStatusListFromCart(struct cart *cart); -/* Return list of track hubs that are turned on by user in cart. */ +struct hubConnectStatus *hubConnectStatusListFromCart(struct cart *cart, char *db); +/* Return list of track hubs that are turned on by user in cart. If there are quickLifted hubs, make sure the toDb is db */ struct hubConnectStatus *hubConnectStatusListFromCartAll(struct cart *cart); /* Return list of all track hubs that are referenced by cart. */ #define hubConnectTrackHubsVarName "trackHubs" /* Name of cart variable with list of track hubs. */ #define hgHubConnectRemakeTrackHub "hgHubConnect.remakeTrackHub" /* Cart variable to indicate trackHub cart variable needs refreshing. */ #define hgHubConnectHubVarPrefix "hgHubConnect.hub." /* Prefix to temporary variable holding selected cart names. */ boolean hubConnectTableExists(); /* Return TRUE if the hubConnect table exists. */