diff --git a/c_src/build_deps.sh b/c_src/build_deps.sh index dd6d83f..c351bc1 100755 --- a/c_src/build_deps.sh +++ b/c_src/build_deps.sh @@ -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" diff --git a/c_src/wiredtiger-1.1.2.tar.bz2 b/c_src/wiredtiger-1.1.2.tar.bz2 deleted file mode 100644 index 567da33..0000000 Binary files a/c_src/wiredtiger-1.1.2.tar.bz2 and /dev/null differ diff --git a/c_src/wiredtiger-1.1.3.tar.bz2 b/c_src/wiredtiger-1.1.3.tar.bz2 new file mode 100644 index 0000000..e8b3358 Binary files /dev/null and b/c_src/wiredtiger-1.1.3.tar.bz2 differ diff --git a/src/riak_kv_wterl_backend.erl b/src/riak_kv_wterl_backend.erl index eab5a7b..640779c 100644 --- a/src/riak_kv_wterl_backend.erl +++ b/src/riak_kv_wterl_backend.erl @@ -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,