e8c22713a73f66943a295ed2b4912e6d8069e782
braney
  Wed Sep 10 16:54:43 2025 -0700
allow quickLiftChain and liftOverChain tables to have different names
specified in hg.conf

diff --git src/hg/hubApi/liftOver.c src/hg/hubApi/liftOver.c
index ebda17f6fce..8ce55f0346e 100644
--- src/hg/hubApi/liftOver.c
+++ src/hg/hubApi/liftOver.c
@@ -60,31 +60,31 @@
     jsonWriteString(jw, NULL, position);
     jsonWriteString(jw, NULL, coverage);
     jsonWriteListEnd(jw);
     }
 jsonWriteListEnd(jw);
 apiFinishOutput(0, NULL, jw);
 }
 
 static void listExisting()
 /* output the fromDb,toDb from liftOverChain.hgcentral SQL table */
 {
 long long itemCount = 0;
 char *filter = cgiOptionalString(argFilter);
 
 struct sqlConnection *conn = hConnectCentral();
-char *tableName = cloneString("liftOverChain");
+char *tableName = cloneString(liftOverChainTable());
 char query[1024];
 sqlSafef(query, sizeof(query), "SELECT count(*) FROM %s", tableName);
 long long totalRows = sqlQuickLongLong(conn, query);
 
 if (isEmpty(filter))
     {
     sqlSafef(query, sizeof(query), "SELECT fromDb,toDb FROM %s LIMIT %d", tableName, maxItemsOutput);
     }
 else
     {
     sqlSafef(query, sizeof(query), "SELECT fromDb,toDb FROM %s WHERE LOWER(fromDb) = LOWER('%s') OR LOWER(toDb) = LOWER('%s') LIMIT %d;", tableName, filter, filter, maxItemsOutput);
     }
 
 char *dataTime = sqlTableUpdate(conn, tableName);
 time_t dataTimeStamp = sqlDateToUnixTime(dataTime);