Commits

Alexander Shorin  committed 702e1ec

Fix basho_bench driver: there is no hanoidb and cowdb:delete/3

  • Participants
  • Parent commits c657081
  • Branches fix-builtin-types-definition, fix-typos

Comments (0)

Files changed (1)

File tools/basho_bench_driver_cowdb.erl

     %% Make sure bitcask is available
     case code:which(cowdb) of
         non_existing ->
-            ?FAIL_MSG("~s requires hanoidb to be available on code path.\n",
+            ?FAIL_MSG("~s requires cowdb to be available on code path.\n",
                       [?MODULE]);
         _ ->
             ok
         Error ->
             Error
     end;
-run(delete, KeyGen, ValueGen, Db) ->
-    case cowdb:delete(Db, KeyGen(), ValueGen()) of
+run(delete, KeyGen, _ValueGen, Db) ->
+    case cowdb:delete(Db, KeyGen()) of
         {ok, _} ->
             {ok, Db};
         Error ->