anchor.diff:          true ->
               %% however, prevent bad data to crash us
               try
  -                case put_data(Data, Table, Mod) of
  +                case put_data(Data, Bucket, Mod) of
                       0 ->
                           {reply, #tsputresp{}, State};
                       ErrorCount ->
  
positive.code: %% local functions
  %% ---------------------------------------------------
  
  -spec make_rpberrresp(integer(), term()) -> #rpberrorresp{}.
  make_rpberrresp(Code, Reason) ->
      #rpberrorresp{errcode = Code,
                    errmsg = lists:flatten(
                               io_lib:format("~p", [Reason]))}.
  
  
  -spec decode_query_permissions(#ddl_v1{} | #riak_sql_v1{}) -> {string(), binary()}.
  
negative.code:                 end
              catch
                  Class:Exception ->
                      {reply, make_rpberrresp(?E_IRREG, to_string({Class, Exception}))}
              end;
          false ->
              {reply, make_rpberrresp(?E_IRREG, "Invalid data")};
          {_, {undef, _}} ->
              BucketProps = riak_core_bucket:get_bucket(Bucket),
              {reply, missing_helper_module(Bucket, BucketProps)}
      end;
  
  %% @ignore SELECT
  