diff options
-rw-r--r-- | src/couchdb/couch_server.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/couchdb/couch_server.erl b/src/couchdb/couch_server.erl index 8363d4a1..02a2fbe4 100644 --- a/src/couchdb/couch_server.erl +++ b/src/couchdb/couch_server.erl @@ -249,6 +249,7 @@ handle_call({create, DbName, Options}, {FromPid,_}, Server) -> true = ets:insert(couch_dbs_by_pid, {MainPid, DbName}), true = ets:insert(couch_dbs_by_lru, {LruTime, DbName}), DbsOpen = Server#server.current_dbs_open + 1, + couch_db_update_notifier:notify({created, DbName}), {reply, couch_db:open_ref_counted(MainPid, FromPid), Server#server{current_dbs_open=DbsOpen}}; |