BVLC/caffe — pull request #1319 by kmatzen (2014-10-18 06:58:03+00:00)
Title: LMDB read-only transaction limit fix

I incorrectly assumed that you could have many concurrent read-only transactions with LMDB. This preallocates a single read-only transaction that can be reused until commit has been called.

This still leaks cursors. I need to find out whether or not those are automatically cleaned up when a transaction aborts or commits.

New test cases included.