diff options
author | Paul J. Davis <paul.joseph.davis@gmail.com> | 2018-03-26 13:05:51 -0500 |
---|---|---|
committer | jiangphcn <jiangph@cn.ibm.com> | 2018-05-02 16:36:43 +0800 |
commit | f9bf79b678e5defe269198b86d77b74a5af75af9 (patch) | |
tree | 5d1660b72064987f70d57e0110fbe50f12aa5b24 | |
parent | 001e0fa2d8b0ac16e14e7a288a4db97537392c27 (diff) | |
download | couchdb-f9bf79b678e5defe269198b86d77b74a5af75af9.tar.gz |
WIP - couch_db_engine.erl
-rw-r--r-- | src/couch/src/couch_db_engine.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/couch/src/couch_db_engine.erl b/src/couch/src/couch_db_engine.erl index 8199118c2..5ac986554 100644 --- a/src/couch/src/couch_db_engine.erl +++ b/src/couch/src/couch_db_engine.erl @@ -683,7 +683,7 @@ serialize_doc/2, write_doc_body/2, write_doc_infos/3, - purge_doc_revs/3, + purge_docs/3, commit_data/1, open_write_stream/2, @@ -900,9 +900,9 @@ write_doc_infos(#db{} = Db, DocUpdates, LocalDocs) -> {ok, Db#db{engine = {Engine, NewSt}}}. -purge_doc_revs(#db{} = Db, DocUpdates, Purges) -> +purge_docs(#db{} = Db, DocUpdates, Purges) -> #db{engine = {Engine, EngineState}} = Db, - {ok, NewSt} = Engine:purge_doc_revs( + {ok, NewSt} = Engine:purge_docs( EngineState, DocUpdates, Purges), {ok, Db#db{engine = {Engine, NewSt}}}. |