src/hg/hgc/hgc.c 1.1517
1.1517 2009/03/12 19:22:32 fanhsu
Changed hAllocate() to hAllocConnTrack() to fix a bug on CGB servers due to the logicalDb.
Index: src/hg/hgc/hgc.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgc/hgc.c,v
retrieving revision 1.1516
retrieving revision 1.1517
diff -b -B -U 4 -r1.1516 -r1.1517
--- src/hg/hgc/hgc.c 9 Mar 2009 21:43:44 -0000 1.1516
+++ src/hg/hgc/hgc.c 12 Mar 2009 19:22:32 -0000 1.1517
@@ -2549,9 +2549,10 @@
printDataVersion(tdb);
printOrigAssembly(tdb);
if ((tableName = hTableForTrack(database, tdb->tableName)) != NULL)
{
- struct sqlConnection *conn = hAllocConn(database);
+ struct sqlConnection *conn = hAllocConnTrack(database, tdb);
+
char *date = firstWordInLine(sqlTableUpdate(conn, tableName));
if (date != NULL)
printf("<B>Data last updated:</B> %s<BR>\n", date);
hFreeConn(&conn);