c4fe426d0936ce30c7fd65c63dd29a19abb830dc braney Sun Mar 15 15:22:12 2015 -0700 allow using different names for the following tables: dbDb, defaultDb, genomeClade, and clade. This will allow for testing of alternate versions of these tables on hgwdev. diff --git src/hg/inc/hdb.h src/hg/inc/hdb.h index f6954e4..dc260c2 100644 --- src/hg/inc/hdb.h +++ src/hg/inc/hdb.h @@ -944,16 +944,36 @@ boolean hIsBigBed(char *database, char *table, struct trackDb *parent, struct customTrack *(*ctLookupName)(char *table)); /* Return TRUE if table corresponds to a bigBed file. * if table has no parent trackDb pass NULL for parent * If this is a custom track, pass in function ctLookupName(table) which looks up a * custom track by name, otherwise pass NULL */ char *bbiNameFromSettingOrTable(struct trackDb *tdb, struct sqlConnection *conn, char *table); /* Return file name from bigDataUrl or little table. */ char *bbiNameFromSettingOrTableChrom(struct trackDb *tdb, struct sqlConnection *conn, char *table, char *seqName); /* Return file name from bigDataUrl or little table that might have a seqName column. * If table does have a seqName column, return NULL if there is no file for seqName. */ +#define dbdDbTableConfVariable "dbDbTableName" +#define defaultDbdDbTableName "dbDb" +#define defaultDbTableConfVariable "defaultDbTableName" +#define defaultDefaultDbTableName "defaultDb" +#define genomeCladeTableConfVariable "genomeCladeTableName" +#define defaultGenomeCladeTableName "genomeClade" +#define cladeTableConfVariable "cladeTableName" +#define defaultCladeTableName "clade" + +char *dbDbTable(); +/* Return the name of the dbDb table. */ + +char *cladeTable(); +/* Return the name of the clade table. */ + +char *defaultDbTable(); +/* Return the name of the defaultDb table. */ + +char *genomeCladeTable(); +/* Return the name of the genomeClade table. */ #endif /* HDB_H */