summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2019-09-27 13:32:44 -0500
committerPaul J. Davis <paul.joseph.davis@gmail.com>2019-09-27 13:37:09 -0500
commitff2cdb84f639ea26ac7b1ad85abb0a49c5141c74 (patch)
tree3c42f7efa1786dc12657c4d4db8d42647a5f63f7
parentd7d32a007c4c2502c93ee4dee9823cdf5f794917 (diff)
downloadcouchdb-ff2cdb84f639ea26ac7b1ad85abb0a49c5141c74.tar.gz
Fix mango index validation
This check fails if Clouseau isn't present. Though we don't need Clouseau to perform the check so just avoid it.
-rw-r--r--src/mango/src/mango_native_proc.erl7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mango/src/mango_native_proc.erl b/src/mango/src/mango_native_proc.erl
index 274ae11de..cbf362291 100644
--- a/src/mango/src/mango_native_proc.erl
+++ b/src/mango/src/mango_native_proc.erl
@@ -345,12 +345,7 @@ make_text_field_name([P | Rest], Type) ->
validate_index_info(IndexInfo) ->
- IdxTypes = case clouseau_rpc:connected() of
- true ->
- [mango_idx_view, mango_idx_text];
- false ->
- [mango_idx_view]
- end,
+ IdxTypes = [mango_idx_view, mango_idx_text],
Results = lists:foldl(fun(IdxType, Results0) ->
try
IdxType:validate_index_def(IndexInfo),