Skip to content

Commit

Permalink
v2.10: encode the db name
Browse files Browse the repository at this point in the history
  • Loading branch information
James Aimonetti committed Feb 23, 2013
1 parent ec04d2b commit 1226ef3
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -490,7 +490,7 @@ compact({compact_db, N, D}, #state{conn=Conn
,current_job_pid=P
,current_job_ref=Ref
}=State) ->
case couch_util:db_exists(Conn, D) of
case couch_util:db_exists(Conn, encode_db(D)) of
'false' ->
lager:debug("db ~s not found on ~s", [D, N]),
maybe_send_update(P, Ref, job_finished),
Expand All @@ -515,7 +515,7 @@ compact({compact_db, N, D}, #state{conn=Conn
,admin_conn=AdminConn
,nodes=[Node|Ns]
}=State) ->
case couch_util:db_exists(Conn, D) of
case couch_util:db_exists(Conn, encode_db(D)) of
'false' ->
lager:debug("db ~s not found on ~s", [D, N]),
gen_fsm:send_event(self(), {compact_db, Node, D}),
Expand Down

0 comments on commit 1226ef3

Please sign in to comment.