Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add missing db "created" event

  • Loading branch information...
commit 00b0c1df5757fa9f5f539fc456ec4f19757c5563 1 parent 9f81823
@benoitc benoitc authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  apps/couch/src/couch_server.erl
View
1  apps/couch/src/couch_server.erl
@@ -88,6 +88,7 @@ create(DbName, Options0) ->
case gen_server:call(couch_server, {create, DbName, Options}, infinity) of
{ok, #db{fd=Fd} = Db} ->
Ctx = couch_util:get_value(user_ctx, Options, #user_ctx{}),
+ couch_db_update_notifier:notify({created, DbName}),
{ok, Db#db{user_ctx=Ctx, fd_monitor=erlang:monitor(process,Fd)}};
Error ->
Error
Please sign in to comment.
Something went wrong with that request. Please try again.