Commit the compacted index before returning it.

Failing to compact here could cause errors trying to resume a compaction
due to timeouts while searching for a header.

See COUCHDB-994



git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1174984 13f79535-47bb-0310-9956-ffa450edef68
1 file changed
tree: 657a9bde251f8e7855bba59dd1b37752f407c389
  1. src/
  2. Makefile.am