b5065eea7feb17fc6d60902919f9ef044d110db4
angie
Mon Aug 22 22:27:10 2011 -0700
Fixing compile-breaker: boolean TRUE and FALSE need to be uppercased.
diff --git src/hg/hgc/lowelab.c src/hg/hgc/lowelab.c
index 9d0eef7..6f78ab5 100644
--- src/hg/hgc/lowelab.c
+++ src/hg/hgc/lowelab.c
@@ -661,37 +661,37 @@
if(description!=NULL)
{
printf("arCOG: %s Code %s",infoload->name, description->code);
printf(" %s
\n", description->description);
itemCount++;
}
}
sqlFreeResult(&sr2);
hFreeConn(&conn2);
}
}
}
*/
arcogCount = 0;
-hasArCOG = false;
+hasArCOG = FALSE;
row = NULL;
sprintf(query, "show databases like 'arCogsDb'");
sr = sqlGetResult(conn, query);
if ((row = sqlNextRow(sr)) != NULL)
{
- hasArCOG = true;
+ hasArCOG = TRUE;
}
sqlFreeResult(&sr);
if (hasArCOG)
{
/* Get species info */
memset(genome, 0, 50);
memset(clade, 0, 50);
getGenomeClade(conn, database, genome, clade);
sprintf(query, "select distinct a.arcog_id, a.anntation, c.class_id from arCogsDb.arcogDef a, arCogsDb.arcog b, arCogsDb.arcogFun c where a.arcog_id = b.arcog_id and a.arcog_id = c.arcog_id and db_name = '%s' and name = '%s'",
database, item);
sr = sqlGetResult(conn, query);
while ((row = sqlNextRow(sr)) != NULL)
{