public
Description: Unofficial Git mirror of CouchDB svn repository. (Updated nightly)
Homepage: http://couchdb.org/
Clone URL: git://github.com/jlindley/couchdb.git
db update notification process fix - thanks vmx, davisp, dreid

git-svn-id: http://svn.apache.org/repos/asf/incubator/couchdb@703637 
13f79535-47bb-0310-9956-ffa450edef68
jchris (author)
Sat Oct 11 01:23:16 -0700 2008
commit  0489a5d571e2fc957836721b5a708147f1b844c1
tree    ec8cfb9ad99b94d74390bba9a27951390a7be4e9
parent  173230e7e90507c5f68c143de8e42a48197efd52
...
52
53
54
55
 
56
57
58
...
52
53
54
 
55
56
57
58
0
@@ -52,7 +52,7 @@ handle_event(Event, {Fun, FunAcc}) ->
0
     FunAcc2 = Fun(Event, FunAcc),
0
     {ok, {Fun, FunAcc2}};
0
 handle_event({EventAtom, DbName}, Port) ->
0
- Obj = {[{type, atom_to_list(EventAtom)}, {db, DbName}]},
0
+ Obj = {[{type, list_to_binary(atom_to_list(EventAtom))}, {db, DbName}]},
0
     true = port_command(Port, ?JSON_ENCODE(Obj) ++ "\n"),
0
     {ok, Port}.
0
 

Comments

    No one has commented yet.