diff options
Diffstat (limited to 'src/couchdb/couch_view.erl')
-rw-r--r-- | src/couchdb/couch_view.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_view.erl b/src/couchdb/couch_view.erl index e790efd3..5a7926b2 100644 --- a/src/couchdb/couch_view.erl +++ b/src/couchdb/couch_view.erl @@ -194,10 +194,10 @@ fold(#view{btree=Btree}, StartKey, Dir, Fun, Acc) -> init([]) -> % read configuration settings and register for configuration changes - RootDir = couch_config:get("couchdb", "database_dir"), + RootDir = couch_config:get("couchdb", "view_index_dir"), Self = self(), ok = couch_config:register( - fun("couchdb", "database_dir")-> + fun("couchdb", "view_index_dir")-> exit(Self, config_change) end), |