src/hg/hgTables/sumStats.c 1.25

1.25 2009/03/17 04:28:39 kent
Adding parameter to getHti, and creating a hti object for bigBed tables out of the associated .as information.
Index: src/hg/hgTables/sumStats.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/sumStats.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -b -B -U 4 -r1.24 -r1.25
--- src/hg/hgTables/sumStats.c	12 Mar 2009 16:45:16 -0000	1.24
+++ src/hg/hgTables/sumStats.c	17 Mar 2009 04:28:39 -0000	1.25
@@ -261,9 +261,9 @@
 long startTime, midTime, endTime;
 long loadTime = 0, calcTime = 0, freeTime = 0;
 struct covStats *itemCovList = NULL, *blockCovList = NULL, *cov;
 int itemCount = 0;
-struct hTableInfo *hti = getHti(database, curTable);
+struct hTableInfo *hti = getHti(database, curTable, conn);
 int minScore = BIGNUM, maxScore = -BIGNUM;
 long long sumScores = 0;
 boolean hasBlocks = hti->hasBlocks;
 boolean hasScore = (hti->scoreField[0] != 0);