update to WiredTiger 1.1.3

Update to WiredTiger 1.1.3 and also reinstate checking that
wterl:session_create returns ok.
This commit is contained in:
Steve Vinoski 2012-04-04 15:20:08 -04:00
parent ca36db5709
commit fbc6f9b440
4 changed files with 3 additions and 8 deletions

View file

@ -2,11 +2,9 @@
set -e
WT_VSN=1.1.2
WT_VSN=1.1.3
if [ `basename $PWD` != "c_src" ]; then
pushd c_src
fi
[ `basename $PWD` != "c_src" ] && cd c_src
BASEDIR="$PWD"

Binary file not shown.

Binary file not shown.

View file

@ -103,10 +103,7 @@ start(Partition, Config) ->
{ok, ConnRef} ->
Table = "table:wt" ++ integer_to_list(Partition),
{ok, SRef} = wterl:session_open(ConnRef),
%% 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 = wterl:session_create(SRef, Table),
{ok, #state{conn=ConnRef,
table=Table,
session=SRef,