Skip to content

Commit

Permalink
Fix bad match with database
Browse files Browse the repository at this point in the history
Old code was mixes with new code. Don't get the database
from the record, but open it.

Change-Id: I0b376ad71d201754fa3d100c7851a32a2f5f8ffd
Reviewed-on: http://review.couchbase.org/12351
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
  • Loading branch information
vmx committed Jan 25, 2012
1 parent 299e94c commit 52f5777
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/geocouch/couch_spatial_compactor.erl
Expand Up @@ -55,7 +55,6 @@ compact_group(Group, EmptyGroup, DbName) ->
} = Group,

#spatial_group{
db = Db,
id_btree = EmptyIdBtree,
indexes = EmptyIndexes,
fd = EmptyFd
Expand Down

0 comments on commit 52f5777

Please sign in to comment.