cloudant/mango — pull request #16 by kocolosk (2014-12-17 20:25:51+00:00)
Title: Always use the DB name as the cache key

`mango_idx:list/1` accepts a `#db{}` in addition to a database name. When the former is used it's often a stub record with a randomly generated UUID in the `#db_header`. This really kills the cache hit rate ;)

BugzID: 42707