support opening the LMDB main database (nullPtr)