summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Sun <tony.sun@cloudant.com>2017-07-14 10:13:08 -0700
committerTony Sun <tony.sun@cloudant.com>2017-07-14 10:13:08 -0700
commit2065100bab696d8dc6086835d10023d11320221c (patch)
tree9492a4251c0dc274efe9a19a60f2ed7267d350c6
parentc07d43775906fc5e0cb5aa7549ee31dbd6516db9 (diff)
downloadcouchdb-3429-external-size-dbs.tar.gz
fix missing term_size3429-external-size-dbs
-rw-r--r--src/couch/src/couch_db_updater.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couch/src/couch_db_updater.erl b/src/couch/src/couch_db_updater.erl
index 45468ebd8..277f2b535 100644
--- a/src/couch/src/couch_db_updater.erl
+++ b/src/couch/src/couch_db_updater.erl
@@ -1481,7 +1481,7 @@ get_meta_body_size(Meta, Summary) ->
{ejson_size, ExternalSize} ->
ExternalSize;
false ->
- couch_compress:decompress(Summary)
+ ?term_size(couch_compress:decompress(Summary))
end.