You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2015/06/25 13:45:15 UTC

[2/3] couch commit: updated refs/heads/master to c2ef372

Rename active_size variable for consistency


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

Branch: refs/heads/master
Commit: c775655942ea711dfcf7a7603c963891dac3fb9d
Parents: 6dcbf93
Author: Eric Avdey <ei...@eiri.ca>
Authored: Wed Jun 24 11:52:58 2015 -0300
Committer: Eric Avdey <ei...@eiri.ca>
Committed: Wed Jun 24 13:02:49 2015 -0300

----------------------------------------------------------------------
 src/couch_db.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/c7756559/src/couch_db.erl
----------------------------------------------------------------------
diff --git a/src/couch_db.erl b/src/couch_db.erl
index 6b2dcc4..3c2eb31 100644
--- a/src/couch_db.erl
+++ b/src/couch_db.erl
@@ -338,8 +338,8 @@ get_db_info(Db) ->
             SI;
         {AS, ES} ->
             #size_info{active=AS, external=ES};
-        SI ->
-            #size_info{active=SI}
+        AS ->
+            #size_info{active=AS}
     end,
     ActiveSize = active_size(Db, SizeInfo),
     DiskVersion = couch_db_header:disk_version(Header),