From 7380bd3bd7dd6792185c43afb861ead422ddbcc2 Mon Sep 17 00:00:00 2001 From: Gregory Burd Date: Sat, 20 Apr 2013 12:08:55 -0400 Subject: [PATCH] Open the statistics table, not the actual table. --- src/riak_kv_wterl_backend.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/riak_kv_wterl_backend.erl b/src/riak_kv_wterl_backend.erl index 52bf28e..6ba21ca 100644 --- a/src/riak_kv_wterl_backend.erl +++ b/src/riak_kv_wterl_backend.erl @@ -377,7 +377,7 @@ max_sessions(Config) -> establish_utility_cursors(Connection, Table) -> case wterl:cursor_open(Connection, Table) of {ok, IsEmptyCursor} -> - case wterl:cursor_open(Connection, Table) of + case wterl:cursor_open(Connection, "table:statistics") of {ok, StatusCursor} -> {ok, IsEmptyCursor, StatusCursor}; {error, Reason1} ->