3e8d247277c158e7586cae231f349ec47f123cb7 galt Sat May 11 03:32:16 2019 -0700 cdw cleanup unneeded li tag in menu. removed old comment. diff --git src/hg/lib/tablesTables.c src/hg/lib/tablesTables.c index a8f8643..cebcf2c 100644 --- src/hg/lib/tablesTables.c +++ src/hg/lib/tablesTables.c @@ -36,31 +36,31 @@ char *selectedFields, struct facetField ***pFfArray, int *pResultCount) /* Return fieldedTable from a database query and also fetch use and select counts */ { struct sqlResult *sr = sqlGetResult(conn, query); char **fields; int fieldCount = sqlResultFieldArray(sr, &fields); struct facetField **ffArray; AllocArray(ffArray, fieldCount); struct fieldedTable *table = fieldedTableNew(query, fields, fieldCount); struct facetField *ffList = facetFieldsFromSqlTableInit(fields, fieldCount, selectedFields, ffArray); char **row; int i = 0; int id = 0; -char *nullVal = "n/a"; // TODO what do we want here? +char *nullVal = "n/a"; /* Scan through result saving it in list. */ while ((row = sqlNextRow(sr)) != NULL) { if (perRowFacetFields(fieldCount, row, nullVal, ffArray)) { if ((i >= offset) && (i < offset+limit)) fieldedTableAdd(table, row, fieldCount, ++id); ++i; } } facetFieldsFromSqlTableFinish(ffList, facetValCmpSelectCountDesc); sqlFreeResult(&sr); *pFfArray = ffArray; *pResultCount = i; return table;