anchor.diff:      CompilingPids = dets:match(?TABLE, {'_','_','_','$1',compiling}),
       lists:foreach(fun([Pid]) -> update_state(Pid, retrying) end, CompilingPids).
   
  -%% Get the list of tables which need to be recompiled
  --spec get_tables_needing_recompiling(DDLVersion :: riak_ql_ddl:compiler_version_type()) ->
  +%% Get the list of records which need to be recompiled
  +-spec get_ddl_records_needing_recompiling(DDLVersion :: riak_ql_ddl:compiler_version_type()) ->
       [binary()].
  -get_tables_needing_recompiling(DDLVersion) ->
  +get_ddl_records_needing_recompiling(DDLVersion) ->
       %% First find all tables with a version
       MismatchedTables = dets:select(?TABLE, [{{'$1','$2','_','_',compiled},[{'/=','$2', DDLVersion}],['$$']}]),
       RetryingTables = dets:match(?TABLE, {'$1','$2','_','_',retrying}),
  
positive.code:          get_compiled_ddl_version/1,
           get_ddl/1,
           get_state/1,
           get_tables_needing_recompiling/1,
           insert/5,
           is_compiling/1,
           new/1,
  
negative.code:                  <<"my_type2">>,
                   <<"my_type3">>,
                  ],
                  lists:sort(get_ddl_records_needing_recompiling(8))
              )
          end).
  
  