src/hg/inc/jksql.h 1.83

1.83 2009/04/29 22:27:06 markd
fixed bug where wrong profile was used for hgcentral
Index: src/hg/inc/jksql.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/inc/jksql.h,v
retrieving revision 1.82
retrieving revision 1.83
diff -b -B -U 4 -r1.82 -r1.83
--- src/hg/inc/jksql.h	13 Apr 2009 22:34:11 -0000	1.82
+++ src/hg/inc/jksql.h	29 Apr 2009 22:27:06 -0000	1.83
@@ -75,8 +75,13 @@
 /* Set configuration for the default profile.  This overrides an existing
  * profile in hg.conf or defines a new one.  Results are unpredictable if a
  * connect cache has been established for this profile. */
 
+void sqlProfileAddDb(char *profileName, char *db);
+/* add a mapping of db to profile.  If database is already associated with
+ * this profile, it is ignored.  If it is associated with a different profile,
+ * it is an error. */
+
 struct hash *sqlHashOfDatabases(void);
 /* Get hash table with names of all databases that are online. */
 
 struct slName *sqlListOfDatabases(void);