diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-08-27 16:37:26 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-27 16:37:26 -0400 |
commit | 4a4783d17f0777818b53ab140ce96a46a5076810 (patch) | |
tree | e71e65dbbe3c2538e34284d0ba31ece227d5ad1b | |
parent | c47b5baa8df9704fd4a1df495ed662614f424848 (diff) |
fix a bad cherry-pick
-rw-r--r-- | apps/couch/src/couch_server.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/couch/src/couch_server.erl b/apps/couch/src/couch_server.erl index 267e69b0..a08da475 100644 --- a/apps/couch/src/couch_server.erl +++ b/apps/couch/src/couch_server.erl @@ -331,7 +331,7 @@ handle_call({delete, DbName, _Options}, _From, Server) -> Error -> {reply, Error, Server} end; -handle_call({db_updated, Db}, _From, Server) -> +handle_call({db_updated, #db{name = DbName} = Db}, _From, Server) -> true = ets:insert(couch_dbs, Db), true = ets:insert(couch_lru, {DbName, now()}), {reply, ok, Server}. |