a89bf4ec9c46b355183eaa5901a8d01dd3b0c5d5 hiram Wed Oct 25 11:37:26 2017 -0700 make note that customFactoryTestExistence() in customFactory.c is depending upon the ctTouchLastUse() function here no redmine diff --git src/hg/lib/customTrack.c src/hg/lib/customTrack.c index 1beeed7..8e94132 100644 --- src/hg/lib/customTrack.c +++ src/hg/lib/customTrack.c @@ -136,30 +136,32 @@ { sqlFreeResult(&sr); return TRUE; } } sqlFreeResult(&sr); return FALSE; } boolean ctDbTableExists(struct sqlConnection *conn, char *table) /* verify if custom trash db table exists, touch access stats */ { boolean status = sqlTableExists(conn, table); ctTouchLastUse(conn, table, status); return status; +/* NOTE: the function customFactoryTestExistence() in customFactory.c + * is depending on this ctTouchLastUse() operation here, do not delete this */ } boolean ctDbUseAll() /* check if hg.conf says to try DB loaders for all incoming data tracks */ { static boolean checked = FALSE; static boolean enabled = FALSE; if (!checked) { char *val = cfgOptionDefault("customTracks.useAll", NULL); if (val != NULL) enabled = sameString(val, "yes"); checked = TRUE; }