1dfa3b9f97577f088af82ed02340c07886d690fd
galt
  Fri Oct 7 16:52:26 2022 -0700
Various bugfixes for sqlSafef v2 and some of Jims refactoring like adding fuseCsvFields so it can support multiple tables in the from list. Also fixed an encoding issue  for sample labels that had a double-quote in them. Updated jquery.min.js to point to newer version 1.12.

diff --git src/hg/inc/jksql.h src/hg/inc/jksql.h
index 372e54a..3722ce0 100644
--- src/hg/inc/jksql.h
+++ src/hg/inc/jksql.h
@@ -274,30 +274,33 @@
 int sqlCountColumns(struct sqlResult *sr);
 /* Count the number of columns in result. */
 
 int sqlCountColumnsInTable(struct sqlConnection *sc, char *table);
 /* Return the number of columns in a table */
 
 boolean sqlDatabaseExists(char *database);
 /* Return TRUE if database exists. */
 
 boolean sqlTableExists(struct sqlConnection *sc, char *table);
 /* Return TRUE if a table exists. */
 
 bool sqlColumnExists(struct sqlConnection *conn, char *tableName, char *column);
 /* return TRUE if column exists in table. column can contain sql wildcards  */
 
+boolean sqlColumnExistsInTablesList(struct sqlConnection *conn, char *tables, char *field);
+/* check if column exists in a list of tables */
+
 int sqlTableSizeIfExists(struct sqlConnection *sc, char *table);
 /* Return row count if a table exists, -1 if it doesn't. */
 
 boolean sqlTablesExist(struct sqlConnection *conn, char *tables);
 /* Check all tables in space delimited string exist. */
 
 boolean sqlTableWildExists(struct sqlConnection *sc, char *table);
 /* Return TRUE if table (which can include SQL wildcards) exists.
  * A bit slower than sqlTableExists. */
 
 unsigned long sqlTableDataSizeFromSchema(struct sqlConnection *conn, char *db, char *table);
 /* Get table data size. Table must exist or will abort. */
 
 unsigned long sqlTableIndexSizeFromSchema(struct sqlConnection *conn, char *db, char *table);
 /* Get table index size. Table must exist or will abort. */