ed552b421c008dad0b93b880923362902bf1e3d1 max Wed Apr 2 08:46:02 2014 -0700 Fixing hgVai again for gbib, refs #11957 and refs #12717. One problemwas that show tables cannot fail over. Probably need to libify one day as a sqlShowTables() function. Another problem are the nib directories in hg18. Working towards replacing all nib directories with their twoBit versions via a hg.conf statement. diff --git src/hg/inc/jksql.h src/hg/inc/jksql.h index 70597f5..1f50151 100644 --- src/hg/inc/jksql.h +++ src/hg/inc/jksql.h @@ -668,16 +668,19 @@ * Adds the NOSQLINJ prefix. */ #ifdef __GNUC__ __attribute__((format(printf, 1, 2))) #endif ; void sqlCheckError(char *format, ...) /* A sql injection error has occurred. Check for settings and respond * as appropriate with error, warning, logOnly, ignore, dumpstack. * Then abort if needed. NOTE: unless it aborts, this function will return! */ #ifdef __GNUC__ __attribute__((format(printf, 1, 2))) #endif ; +struct sqlConnection *sqlCanFailover(struct sqlConnection *sc); +/* returns the failover connection of a connection or NULL. */ + #endif /* JKSQL_H */