couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [2/3] couch commit: updated refs/heads/master to c2ef372
Date Thu, 25 Jun 2015 11:45:15 GMT
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 <eiri@eiri.ca>
Authored: Wed Jun 24 11:52:58 2015 -0300
Committer: Eric Avdey <eiri@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),


Mime
View raw message