e66fc3455af36e94cb806c92f514e906dda721b5 braney Thu Dec 1 09:44:18 2011 -0800 fiddle a bit with the hg.conf variables to change hubPublc and hubStatus (#6162) diff --git src/hg/lib/hubConnect.c src/hg/lib/hubConnect.c index c15a741..ff51ba3 100644 --- src/hg/lib/hubConnect.c +++ src/hg/lib/hubConnect.c @@ -22,31 +22,31 @@ boolean isHubTrack(char *trackName) /* Return TRUE if it's a hub track. */ { return startsWith(hubTrackPrefix, trackName); } static char *hubStatusTableName = NULL; static char *getHubStatusTableName() /* return the hubStatus table name from the environment, * or hg.conf, or use the default. Cache the result */ { if (hubStatusTableName == NULL) hubStatusTableName = cfgOptionEnvDefault("HGDB_HUB_STATUS_TABLE", - "hubStatusTableName", defaultHubStatusTableName); + hubStatusTableConfVariable, defaultHubStatusTableName); return hubStatusTableName; } boolean hubConnectTableExists() /* Return TRUE if the hubPublic table exists. */ { struct sqlConnection *conn = hConnectCentral(); boolean exists = sqlTableExists(conn, getHubStatusTableName()); hDisconnectCentral(&conn); return exists; } void hubConnectStatusFree(struct hubConnectStatus **pHub) /* Free hubConnectStatus */