File Changes for angie
switch to commits view, user indexv287_preview2 to v287_base (2013-07-23 to 2013-07-30) v287
- src/hg/hgTracks/simpleTracks.c
- lines changed 4, context: html, text, full: html, text
Registering track handlers for snp138 tables.
- src/hg/lib/annoStreamDb.c
- lines changed 16, context: html, text, full: html, text
Fixing bug reported by user in MLQ #11401. I missed a corner case:it's getFinestBin's job to set self->gotFinestBin, *but* nextRowFiltered
calls nextRowRaw in a loop to skip past rows that precede minChrom,minEnd.
nextRowRaw (nextRowFromBuffer) calls asdDoQueryChunking when it hits the
end of the buffer, which it does when the entire buffer's contents precede
the new minChrom,minEnd. In that case, getFinestBin is still waiting for
a row so it has not yet set self->gotFinestBin. So before calling
asdDoQueryChunking, nextRowFromBuffer needs to update self->gotFinestBin.
While fixing that, I noticed that nextRowFromBuffer wasn't considering
that rowBuf->size might be 0 if the query returns no rows.
refs #11401
switch to commits view, user index