db46ecd0260c15597cef130a001946c39dfafa70
hiram
  Fri Dec 15 12:24:15 2023 -0800
correct error message, remove obsolete reference to hFindTableInfoDb refs #32779

diff --git src/hg/lib/hdb.c src/hg/lib/hdb.c
index 2f97a67..3d3d5c6 100644
--- src/hg/lib/hdb.c
+++ src/hg/lib/hdb.c
@@ -3694,31 +3694,31 @@
 	int *retRowOffset) /* Returns offset past bin field. */
 /* Range query with lots of options. */
 {
 char *db = sqlGetDatabase(conn);
 /* call hFindTableInfoWithConn() to support tracks may from different hosts */
 struct hTableInfo *hti = hFindTableInfoWithConn(conn, chrom, rootTable);
 struct sqlResult *sr = NULL;
 struct dyString *query = dyStringNew(1024);
 char *table = NULL;
 char fullTable[HDB_MAX_TABLE_STRING];
 int rowOffset = 0;
 
 if (fields == NULL) fields = "*";
 if (hti == NULL)
     {
-    warn("table %s doesn't exist in %s database, or hFindTableInfoDb failed", rootTable, db);
+    warn("hExtendedRangeQuery: table %s doesn't exist in %s database, or hFindTableInfoWithConn failed", rootTable, db);
     }
 else
     {
     sqlCkIl(fieldsSafe,fields)
     sqlDyStringPrintf(query, "select %-s from ", fieldsSafe);
     if (hti->isSplit)
 	{
 	safef(fullTable, sizeof(fullTable), "%s_%s", chrom, rootTable);
 	if (!hTableExists(db, fullTable))
 	     warn("%s doesn't exist", fullTable);
 	else
 	    {
 	    table = fullTable;
 	    sqlDyStringPrintf(query, "%s where ", table);
 	    }