src/hg/hgc/hgdpClick.c 1.9
1.9 2010/05/11 01:43:28 kent
Refactoring to split the trackDb.tableName field into separate track and table fields. Similarly track.mapName field goes to the same track and table fields.
Index: src/hg/hgc/hgdpClick.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgc/hgdpClick.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -b -B -U 4 -r1.8 -r1.9
--- src/hg/hgc/hgdpClick.c 23 Sep 2009 18:42:20 -0000 1.8
+++ src/hg/hgc/hgdpClick.c 11 May 2010 01:43:28 -0000 1.9
@@ -400,9 +400,9 @@
int hasBin=1;
safef(query, sizeof(query),
"select * from %s where name = '%s' and chrom = '%s' and chromStart = %d",
- tdb->tableName, item, seqName, start);
+ tdb->table, item, seqName, start);
sr = sqlGetResult(conn, query);
if ((row = sqlNextRow(sr)) != NULL)
{
struct hgdpGeo geo;
@@ -418,9 +418,9 @@
hgdpGeoImg(&geo);
printf("</TD></TR></TABLE>\n");
}
else
- errAbort("doHgdpGeo: no match in %s for %s at %s:%d", tdb->tableName, item, seqName, start);
+ errAbort("doHgdpGeo: no match in %s for %s at %s:%d", tdb->table, item, seqName, start);
sqlFreeResult(&sr);
printTrackHtml(tdb);
hFreeConn(&conn);