wterl:session_create still fails, keep ignoring return value

This commit is contained in:
Steve Vinoski 2012-04-04 15:57:38 -04:00
parent fbc6f9b440
commit 2618ba24e7

View file

@ -103,7 +103,10 @@ start(Partition, Config) ->
{ok, ConnRef} ->
Table = "table:wt" ++ integer_to_list(Partition),
{ok, SRef} = wterl:session_open(ConnRef),
ok = wterl:session_create(SRef, Table),
%% TODO: should check return value here, but we
%% currently get an error when the table already
%% exists, so for now we ignore it.
wterl:session_create(SRef, Table),
{ok, #state{conn=ConnRef,
table=Table,
session=SRef,