src/hg/hgc/hgc.c 1.1606
1.1606 2010/03/25 17:23:14 angie
Use hAllocConnTrack instead of sqlConnect or hAllocConn to support profiles in hg.conf.
Index: src/hg/hgc/hgc.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgc/hgc.c,v
retrieving revision 1.1605
retrieving revision 1.1606
diff -b -B -U 4 -r1.1605 -r1.1606
--- src/hg/hgc/hgc.c 19 Mar 2010 18:38:15 -0000 1.1605
+++ src/hg/hgc/hgc.c 25 Mar 2010 17:23:14 -0000 1.1606
@@ -3438,9 +3438,9 @@
{
char *dupe, *type, *words[16], *headerItem;
int wordCount;
int start = cartInt(cart, "o");
-struct sqlConnection *conn = hAllocConn(database);
+struct sqlConnection *conn = hAllocConnTrack(database, tdb);
char *imagePath = trackDbSettingClosestToHome(tdb, ITEM_IMAGE_PATH);
if (itemForUrl == NULL)
itemForUrl = item;