Open the statistics table, not the actual table.

This commit is contained in:
Gregory Burd 2013-04-20 12:08:55 -04:00
parent bfe56136d8
commit 7380bd3bd7

View file

@ -377,7 +377,7 @@ max_sessions(Config) ->
establish_utility_cursors(Connection, Table) -> establish_utility_cursors(Connection, Table) ->
case wterl:cursor_open(Connection, Table) of case wterl:cursor_open(Connection, Table) of
{ok, IsEmptyCursor} -> {ok, IsEmptyCursor} ->
case wterl:cursor_open(Connection, Table) of case wterl:cursor_open(Connection, "table:statistics") of
{ok, StatusCursor} -> {ok, StatusCursor} ->
{ok, IsEmptyCursor, StatusCursor}; {ok, IsEmptyCursor, StatusCursor};
{error, Reason1} -> {error, Reason1} ->