You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by to...@apache.org on 2015/09/10 02:34:09 UTC
[07/26] couchdb-mango git commit: Fix compilation error
Fix compilation error
Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/4f05552d
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/4f05552d
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-mango/diff/4f05552d
Branch: refs/heads/master
Commit: 4f05552d8c7829fed09b451263a1bb7faf4c941c
Parents: 10fcac2
Author: Tony Sun <to...@cloudant.com>
Authored: Tue Aug 25 11:28:10 2015 -0700
Committer: Tony Sun <to...@cloudant.com>
Committed: Tue Aug 25 13:24:03 2015 -0700
----------------------------------------------------------------------
src/mango_util.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-mango/blob/4f05552d/src/mango_util.erl
----------------------------------------------------------------------
diff --git a/src/mango_util.erl b/src/mango_util.erl
index fd572c7..0e06f66 100644
--- a/src/mango_util.erl
+++ b/src/mango_util.erl
@@ -371,7 +371,7 @@ join(Sep, [Item | Rest]) ->
is_number_string(Value) when is_binary(Value) ->
is_number_string(binary_to_list(Value));
is_number_string(Value) when is_list(Value)->
- case re:run(Subject, ?NUMSTRING) of
+ case re:run(Value, ?NUMSTRING) of
nomatch ->
false;
_ ->