e2ec5ef77645a662ba31c7cfbd7499794975275a
angie
  Fri Mar 23 16:44:07 2012 -0700
Feature #6152 (Variant Annotation Tool): Initial work, squashed infrom origin/annoGrator branch.  Superclasses annoColumn, annoFilter,
annoRow, annoStreamer, annoGrator, and annoFormatter define the core
interfaces for passing data and configuration to and from components.
The annoGrator superclass can join annoRows on position and pass
forward all rows of secondary source.  The annoGratorQuery module
orchestrates the passing of annoRows between the primary source,
annoGrator(s) and annoFormatter(s).  The subclasses annoStreamDb and
annoFormatTab, together with hg/lib/tests/annoGratorTester.c, can join
columns of two database tables such as hg19's pgNA12878 and knownGene
into tab-separated output.

diff --git src/hg/inc/jksql.h src/hg/inc/jksql.h
index 8280023..c96cb0a 100644
--- src/hg/inc/jksql.h
+++ src/hg/inc/jksql.h
@@ -531,16 +531,21 @@
 
 boolean sqlIsRemote(struct sqlConnection *conn);
 /* test if the conn appears to be to a remote system.
  * Current only tests for a TCP/IP connection */
 
 void sqlWarnings(struct sqlConnection *conn, int numberOfWarnings);
 /* Show the number of warnings requested. New feature in mysql5. */
 
 void sqlDump(FILE *fh);
 /* dump internal info about SQL configuration for debugging purposes */
 
 void sqlPrintStats(FILE *fh);
 /* print statistic about the number of connections and other options done by
  * this process. */
 
+struct sqlResult *sqlStoreResult(struct sqlConnection *sc, char *query);
+/* Returns NULL if result was empty.  Otherwise returns a structure
+ * that you can do sqlRow() on.  Same interface as sqlGetResult,
+ * but internally this keeps the entire result in memory. */
+
 #endif /* JKSQL_H */