ebf16fa660f3db7afb0e1fbaf3f02852c8e6587f markd Tue Sep 6 12:10:49 2016 -0700 internal documention fixes diff --git src/hg/lib/jksql.c src/hg/lib/jksql.c index b1f0bbc..ebdc621 100644 --- src/hg/lib/jksql.c +++ src/hg/lib/jksql.c @@ -2100,31 +2100,31 @@ * themselves in *retArray. */ { struct slName *el, *list = sqlResultFieldList(sr); int count = slCount(list); char **array; AllocArray(array, count); int i; for (el=list,i=0; el != NULL; el = el->next, ++i) array[i] = cloneString(el->name); *retArray = array; return count; } int sqlFieldColumn(struct sqlResult *sr, char *colName) /* get the column number of the specified field in the result, or - * -1 if the result doesn't contailed the field.*/ + * -1 if the result doesn't contain the field.*/ { int numFields = mysql_num_fields(sr->result); int i; for (i = 0; i < numFields; i++) { MYSQL_FIELD *field = mysql_fetch_field_direct(sr->result, i); if (sameString(field->name, colName)) return i; } return -1; } int sqlCountColumns(struct sqlResult *sr) /* Count the number of columns in result. */ {