From 4143b6805cddf61dfd0d43b712b598705bca1933 Mon Sep 17 00:00:00 2001 From: Paul Joseph Davis Date: Fri, 21 Aug 2009 22:11:17 +0000 Subject: Munge all ErlJSON to use binaries. Our flavor of ErlJSON has this interesting characteristic: {[{foo, bar}]} == {[{<<"foo">>, <<"bar">>}]} This is fine and dandy for writing ErlJSON that is going to go directly to a serializer, but when it goes to client code executing in couch_native_process.erl it becomes a pain in the but to know whether to use atoms or binaries. This patch munges all input to user functions to use binaries except for null, true, and false obviously. This fixes the commented out test in erlang_views.js as well as adds a show to poke into the request object that has known instances of where things get munged. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@806732 13f79535-47bb-0310-9956-ffa450edef68 --- test/run_native_process.es | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 test/run_native_process.es (limited to 'test') diff --git a/test/run_native_process.es b/test/run_native_process.es old mode 100644 new mode 100755 -- cgit v1.2.3