src/hg/inc/jksql.h 1.80
1.80 2009/02/23 23:38:08 angie
sc->conn->db can be NULL -- when printing out monitor messages, use 'db=?' instead of NULL.
Index: src/hg/inc/jksql.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/inc/jksql.h,v
retrieving revision 1.79
retrieving revision 1.80
diff -b -B -U 4 -r1.79 -r1.80
--- src/hg/inc/jksql.h 20 Feb 2009 23:21:24 -0000 1.79
+++ src/hg/inc/jksql.h 23 Feb 2009 23:38:08 -0000 1.80
@@ -85,9 +85,9 @@
void sqlDisconnect(struct sqlConnection **pSc);
/* Close down connection. */
char* sqlGetDatabase(struct sqlConnection *sc);
-/* Get the database associated with an connection. */
+/* Get the database associated with an connection. Warning: return may be NULL! */
char* sqlGetHost(struct sqlConnection *sc);
/* Get the host associated with an connection. */