d6864c715f90b3ec37e81db09597adc478efd942
max
  Fri Sep 21 11:28:04 2012 -0700
changes after code review, #9122
diff --git src/hg/inc/jksql.h src/hg/inc/jksql.h
index c96cb0a..1a8a75c 100644
--- src/hg/inc/jksql.h
+++ src/hg/inc/jksql.h
@@ -232,30 +232,33 @@
 void sqlFreeResult(struct sqlResult **pRes);
 /* Free up a result. */
 
 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. tableName can contain sql wildcards  */
+
 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. */
 
 boolean sqlTableOk(struct sqlConnection *sc, char *table);
 /* Return TRUE if a table not only exists, but also is not corrupted. */
 
 char *sqlQuickQuery(struct sqlConnection *sc, char *query, char *buf, int bufSize);
 /* Does query and returns first field in first row.  Meant