couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject couch-mrview commit: updated refs/heads/1993-bigcouch-couch-mrview to c186e47
Date Fri, 25 Apr 2014 00:41:14 GMT
Repository: couchdb-couch-mrview
Updated Branches:
  refs/heads/1993-bigcouch-couch-mrview 6cb1bd8ed -> c186e47b7


Properly parse boolean binary params


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/commit/c186e47b
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/c186e47b
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/c186e47b

Branch: refs/heads/1993-bigcouch-couch-mrview
Commit: c186e47b742d436c240cda27acf8d8787a0bbe67
Parents: 6cb1bd8
Author: Russell Branca <chewbranca@gmail.com>
Authored: Thu Apr 24 17:39:07 2014 -0700
Committer: Russell Branca <chewbranca@gmail.com>
Committed: Thu Apr 24 17:39:07 2014 -0700

----------------------------------------------------------------------
 src/couch_mrview_http.erl | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/c186e47b/src/couch_mrview_http.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_http.erl b/src/couch_mrview_http.erl
index 94099f5..8735187 100644
--- a/src/couch_mrview_http.erl
+++ b/src/couch_mrview_http.erl
@@ -363,6 +363,8 @@ parse_boolean(true) ->
     true;
 parse_boolean(false) ->
     false;
+parse_boolean(Val) when is_binary(Val) ->
+    parse_boolean(?b2l(Val));
 parse_boolean(Val) ->
     case string:to_lower(Val) of
     "true" -> true;


Mime
View raw message