summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2016-01-14 15:45:20 +0100
committerMagnus Ahltorp <map@kth.se>2016-01-14 15:45:20 +0100
commit24ba29ab998a9d454e5c7dfd11c59c97d0d920f5 (patch)
tree5fcbba68803f3ceb077f56bf5e895ad99d7b8035 /test
parent7081864b2fcce8713b9441d388b3be617309426a (diff)
Make bench work again, add printing of total memory
Diffstat (limited to 'test')
-rw-r--r--test/src/db.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/src/db.erl b/test/src/db.erl
index 8c90842..a2ca16e 100644
--- a/test/src/db.erl
+++ b/test/src/db.erl
@@ -2,7 +2,10 @@
%%% See LICENSE for licensing information.
-module(db).
--export([get_by_indices/3]).
+-export([get_by_indices/3, size/0]).
+
+size() ->
+ 0.
get_by_indices(Start, _End, _Options) when Start < 0 ->
[];