b03153bfa35c67ec9c98e1ab87e22733f0195ab5
galt
  Fri Apr 20 12:07:34 2018 -0700
fixed typo in comment in jksql

diff --git src/hg/lib/jksql.c src/hg/lib/jksql.c
index 8b1d381..52283a6 100644
--- src/hg/lib/jksql.c
+++ src/hg/lib/jksql.c
@@ -1720,31 +1720,31 @@
 if (cacheConn)
     return sqlTableCacheTableExists(cacheConn, table);
 
 char *err;
 unsigned int errNo;
 const int tableNotFoundCode = 1146;
 
 sqlSafef(query, sizeof(query), "SELECT 1 FROM %-s LIMIT 0", sqlCkIl(table));  
 
 if ((sr = sqlGetResultExt(sc, query, &errNo, &err)) == NULL)
     {
     if (errNo == tableNotFoundCode)
         return FALSE;
     if (sc->failoverConn)
 	{
-	// if not found but we have a main connection, check the main connection, too
+	// if not found but we have a failover connection, check on it, too
 	if ((sr = sqlGetResultExt(sc->failoverConn, query, &errNo, &err)) == NULL)
 	    {
 	    if (errNo == tableNotFoundCode)
 		return FALSE;
 	    }
 	}
     }
 
 if (!sr)
     errAbort("Mysql error during sqlTableExists(%s) %d: %s", table, errNo, err);
 
 sqlFreeResult(&sr);
 return TRUE;
 }