42cd42d52a9d964bf59af16964323dc9effe1bb9 angie Wed Jul 5 12:13:57 2017 -0700 Removing confusing "ASH: " prefixes from some diagnostic warning messages. diff --git src/hg/lib/hdb.c src/hg/lib/hdb.c index f5de944..aa9d1fc 100644 --- src/hg/lib/hdb.c +++ src/hg/lib/hdb.c @@ -699,31 +699,31 @@ if (*pConn != NULL) // don't use hdbCc if never allocated sqlConnCacheDealloc(hdbCc, pConn); } static void hCentralMkCache() /* create the central database cache, trying to connect to the * database and failing over if needed */ { char *centralProfile = "central"; centralDb = cfgOption2(centralProfile, "db"); centralCc = sqlConnCacheNewProfile(centralProfile); sqlSetParanoid(TRUE); struct sqlConnection *conn = sqlConnCacheMayAlloc(centralCc, centralDb); if ((conn == NULL) || !cartTablesOk(conn)) { - fprintf(stderr, "ASH: hConnectCentral failed over to backupcentral! " + fprintf(stderr, "hConnectCentral failed over to backupcentral " "pid=%ld\n", (long)getpid()); sqlConnCacheDealloc(centralCc, &conn); sqlConnCacheFree(¢ralCc); centralProfile = "backupcentral"; centralDb = cfgOption2(centralProfile, "db"); centralCc = sqlConnCacheNewProfile(centralProfile); conn = sqlConnCacheAlloc(centralCc, centralDb); if (!cartTablesOk(conn)) errAbort("Cannot access cart tables in central (nor backupcentral) " "database. Please check central and backupcentral " "settings in the hg.conf file and the databases they " "specify."); } /* now that a profile has been determined, make sure this database goes * through that profile */