src/hg/lib/trackDbCustom.c 1.71

1.71 2009/09/25 16:57:31 hiram
Using hTableOrSplitExists() instead of just hTableExists() to get composite tracks to properly work with split tables
Index: src/hg/lib/trackDbCustom.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/trackDbCustom.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -b -B -U 4 -r1.70 -r1.71
--- src/hg/lib/trackDbCustom.c	2 Sep 2009 22:38:05 -0000	1.70
+++ src/hg/lib/trackDbCustom.c	25 Sep 2009 16:57:31 -0000	1.71
@@ -909,9 +909,9 @@
 int badKids = 0;
 
 while((childTdb = slPopHead(&(parentTdb->subtracks))) != NULL)
     {
-    if (hTableExists(db, childTdb->tableName))
+    if (hTableOrSplitExists(db, childTdb->tableName))
         slAddHead(&goodKids,childTdb);
     else
         {
         badKids++;