f5ba6de31304850e1650c1a785f717971cbfa4a8
braney
  Tue Aug 2 12:28:30 2016 -0700
fix problem with bigBed code calling SQL code during parallel load.
This causes a crash because SQL code is not thread safe.

diff --git src/inc/bigBed.h src/inc/bigBed.h
index 8031299..9ee6f0b 100644
--- src/inc/bigBed.h
+++ src/inc/bigBed.h
@@ -128,17 +128,20 @@
 // Get asObject associated with bigBed - if none exists in file make it up from field counts.
 
 struct asObject *bigBedFileAsObjOrDefault(char *fileName);
 // Get asObject associated with bigBed file, or the default.
 
 boolean bigBedFileCheckSigs(char *fileName);
 /* check file signatures at beginning and end of file */
 
 struct bptFile *bigBedOpenExtraIndex(struct bbiFile *bbi, char *fieldName, int *retFieldIx);
 /* Return index associated with fieldName.  Aborts if no such index.  Optionally return
  * index in a row of this field. */
 
 struct slName *bigBedListExtraIndexes(struct bbiFile *bbi);
 /* Return list of names of extra indexes beyond primary chrom:start-end one" */
 
+int bbExtraFieldIndex(struct bbiFile *bbi, char* fieldName);
+/* return the index of a given extra field */
+
 #endif /* BIGBED_H */