eb712bae538ade6333382032594720b0a55f971d
angie
  Wed Mar 28 08:22:35 2012 -0700
Feature #6152 (Variant Annotation Tool): instead of having a callercreate the sql connection outside of annoStreamDb, and have to remember
not to share it, just allocate the connection inside annoStreamDb.
This introduces a dependency on hdb, but I guess that's inevitable. :)

diff --git src/hg/inc/annoStreamDb.h src/hg/inc/annoStreamDb.h
index deb180d..baccd9d 100644
--- src/hg/inc/annoStreamDb.h
+++ src/hg/inc/annoStreamDb.h
@@ -1,14 +1,11 @@
 /* annoStreamDb -- subclass of annoStreamer for database tables */
 
 #ifndef ANNOSTREAMDB_H
 #define ANNOSTREAMDB_H
 
 #include "annoStreamer.h"
-#include "jksql.h"
 
-struct annoStreamer *annoStreamDbNew(struct sqlConnection *conn, char *table,
-				     struct asObject *asObj);
-/* Create an annoStreamer (subclass) object from a database table described by asObj.
- * conn must not be shared. */
+struct annoStreamer *annoStreamDbNew(char *db, char *table, struct asObject *asObj);
+/* Create an annoStreamer (subclass) object from a database table described by asObj. */
 
 #endif//ndef ANNOSTREAMDB_H