Skip to content

Instantly share code, notes, and snippets.

@davisp
Created October 4, 2016 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davisp/3cc1a0e5b0de04a3c027f694d5a4bc31 to your computer and use it in GitHub Desktop.
Save davisp/3cc1a0e5b0de04a3c027f694d5a4bc31 to your computer and use it in GitHub Desktop.
Reproducer for COUCHDB-3173
["reset", {"reduce_limit":"true", "timeout":5000}]
["add_fun", "function(doc){if(doc.type===\"foo\")emit(doc._id,doc);}"]
["map_doc", {"_id":"foo2","_rev":"1-d7da3cd352ef74f6391cc13601081214","type":"foo","value":"😄"}]
cat repro.js | ./bin/couchjs share/server/main.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment