047094cf4ae471ced5b99e19994105e012dbe2b3
markd
  Tue Aug 10 18:01:31 2010 -0700
prevent opening an sql connection for each sequence retrieved by the table browser
diff --git src/hg/lib/hgSeq.c src/hg/lib/hgSeq.c
index f3d5342..c128a2b 100644
--- src/hg/lib/hgSeq.c
+++ src/hg/lib/hgSeq.c
@@ -19,7 +19,7 @@
  * otherwise just return 0 */
 {
 int thisSize = 0;
-if (sqlDatabaseExists(db))
+if (hDbExists(db))
     thisSize = hChromSize(db, chromName);
 return thisSize;
 }