You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2017/02/06 21:59:10 UTC

[11/13] couch commit: updated refs/heads/COUCHDB-3287-pluggable-storage-engines to e4e3a68

Fix function names


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/e163206a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/e163206a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/e163206a

Branch: refs/heads/COUCHDB-3287-pluggable-storage-engines
Commit: e163206afd301c363a9c77ba38f66dc60be26a39
Parents: 4e5e1db
Author: Paul J. Davis <pa...@gmail.com>
Authored: Mon Feb 6 14:49:19 2017 -0600
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Mon Feb 6 14:49:19 2017 -0600

----------------------------------------------------------------------
 test/couchdb_views_tests.erl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/e163206a/test/couchdb_views_tests.erl
----------------------------------------------------------------------
diff --git a/test/couchdb_views_tests.erl b/test/couchdb_views_tests.erl
index 2f28a00..48e5716 100644
--- a/test/couchdb_views_tests.erl
+++ b/test/couchdb_views_tests.erl
@@ -547,7 +547,7 @@ has_doc(DocId1, Rows) ->
 backup_db_file(DbName) ->
     {ok, Db} = couch_db:open_int(DbName, []),
     try
-        SrcPath = couch_db:get_path(Db),
+        SrcPath = couch_db:get_filepath(Db),
         Src = if
             is_list(SrcPath) -> SrcPath;
             true -> binary_to_list(SrcPath)
@@ -559,12 +559,12 @@ backup_db_file(DbName) ->
 
 restore_backup_db_file(DbName) ->
     {ok, Db} = couch_db:open_int(DbName, []),
-    Src = couch_db:get_path(Db),
+    Src = couch_db:get_filepath(Db),
     ok = couch_db:close(Db),
     DbPid = couch_db:get_pid(Db),
     exit(DbPid, shutdown),
 
-    exit(couch_db:pid(Db), shutdown),
+    exit(couch_db:get_pid(Db), shutdown),
     ok = copy_tree(Src ++ ".backup", Src).
 
 compact_db(DbName) ->