couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject svn commit: r1064810 - /couchdb/trunk/src/couchdb/couch_native_process.erl
Date Fri, 28 Jan 2011 18:44:39 GMT
Author: rnewson
Date: Fri Jan 28 18:44:39 2011
New Revision: 1064810

URL: http://svn.apache.org/viewvc?rev=1064810&view=rev
Log:
fix misleading code sample in comment (thanks vmx).

Modified:
    couchdb/trunk/src/couchdb/couch_native_process.erl

Modified: couchdb/trunk/src/couchdb/couch_native_process.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_native_process.erl?rev=1064810&r1=1064809&r2=1064810&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_native_process.erl (original)
+++ couchdb/trunk/src/couchdb/couch_native_process.erl Fri Jan 28 18:44:39 2011
@@ -25,7 +25,7 @@
 %
 %  fun({Doc}) ->
 %    % Below, we emit a single record - the _id as key, null as value
-%    DocId = couch_util:get_value(Doc, <<"_id">>, null),
+%    DocId = couch_util:get_value(<<"_id">>, Doc, null),
 %    Emit(DocId, null)
 %  end.
 %



Mime
View raw message