4b2f954a9495451ec505efc9658cff6bc5d41b49 max Mon Feb 13 13:21:02 2012 -0800 removing an accidental debug instruction diff --git src/hg/hgc/t2g.c src/hg/hgc/t2g.c index 9379409..f3ad035 100644 --- src/hg/hgc/t2g.c +++ src/hg/hgc/t2g.c @@ -58,31 +58,31 @@ slNameFree(names); return nameListString; } struct sqlResult* queryMarkerRows(struct sqlConnection* conn, char* markerTable, char* articleTable, char* item, int itemLimit) /* query marker rows from mysql, based on http parameters */ { char query[4000]; sqlUpdate(conn, "SET SESSION group_concat_max_len = 40000"); char* sectionList = makeSqlMarkerList(); safef(query, sizeof(query), "SELECT distinct t2gElsevierMarker.articleId, url, title, authors, citation, group_concat(snippet, section SEPARATOR ' (...) ') FROM %s JOIN %s USING (articleId) WHERE markerId='%s' GROUP by articleId LIMIT %d", markerTable, articleTable, item, itemLimit); //safef(query, sizeof(query), "SELECT distinct t2gElsevierMarker.articleId, url, title, authors, citation, group_concat(snippet SEPARATOR ' (...) ') FROM t2gElsevierMarker JOIN t2gElsevierArticle USING (articleId) WHERE markerId='%s' AND section IN (%s) GROUP by articleId LIMIT %d", item, sectionList, itemLimit); -printf(sectionList); +//printf(sectionList); freeMem(sectionList); struct sqlResult *sr = sqlGetResult(conn, query); return sr; } void printSectionCheckboxes() /* show a little form with checkboxes where user can select sections they want to show */ { // labels to show to user, have to correspond to t2gSecNames char *secLabels[] ={ "Title", "Abstract", "Introduction", "Methods",