Permalink
Browse files

Fix test spatial_compaction

This got broken after the CouchDB changes for a termless
file format.

Change-Id: If182a64c2ca3b69937f90863bb7fb4e350686ab7
Reviewed-on: http://review.couchbase.org/14588
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Damien Katz <damien@couchbase.com>
Reviewed-by: Damien Katz <damien@couchbase.com>
  • Loading branch information...
fdmanana authored and Damien Katz committed Apr 5, 2012
1 parent c47805e commit 3670bb98c39ea9020cf0345a56527b5a3ea366c4
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/geocouch/couch_spatial_compactor.erl
@@ -62,8 +62,8 @@ compact_group(Group, EmptyGroup, DbName) ->
DbName1 = docs_db_name(DbName),
{ok, Db} = couch_db:open_int(DbName1, []),
- {ok, DbReduce} = couch_btree:full_reduce(Db#db.docinfo_by_id_btree),
- Count = element(1, DbReduce),
+ {ok, <<Count:40, _DelCount:40, _Size:48>>} =
+ couch_btree:full_reduce(Db#db.docinfo_by_id_btree),
% Use "view_compaction" for now, that it shows up in Futons active tasks
% screen. Think about a more generic way for the future.

0 comments on commit 3670bb9

Please sign in to comment.