anchor.diff:  
   %% Return the directory where compiled DDL module beams are stored
   %% before bucket type activation.
  -tmp_beam_directory() ->
  +ddl_ebin_directory() ->
      Data_dir = app_helper:get_env(riak_core, platform_data_dir),
  -   filename:join(Data_dir, ddl_tmp).
  +   filename:join(Data_dir, ddl_ebin).
   
   %% Would be nice to have a function in riak_core_bucket_type or
   %% similar to get either the prefix or the actual metadata instead
  
positive.code:     Metadata1 = riak_core_metadata:get(?BUCKET_TYPE_PREFIX, Bucket_type),
      Metadata2 = 
          lists:keystore(ddl_module, 1, Metadata1, {ddl_module, Module_name}),
      ok = riak_core_metadata:put(?BUCKET_TYPE_PREFIX, Bucket_type, Metadata2).
negative.code: start_compilation(Bucket_type, DDL) ->
      Pid = proc_lib:spawn_link(
          fun() ->
              ok = compile_and_store(ddl_ebin_directory(), Bucket_type, DDL)
          end),
      ok = riak_kv_compile_tab:insert(Bucket_type, DDL, Pid, compiling).
  
  