     @doc """
     Insert Ecto Schema Instance to mnesia database.
     """
-    def  insert(_repo, %{schema: schema, source: {_, table}}, params, autogen, opts) do
+    def  insert(_repo, %{schema: schema, source: {_, table}}, params, _autogen, _opts) do
 
          rec = Ecto.Mnesia.Query.make_tuple(schema, params, String.to_atom table)
-         res = :mnesia.dirty_write(rec)
+         :mnesia.dirty_write(rec)
 
          {:ok, []}
     end

    @doc """
    Delete Record of Ecto Schema Instace from mnesia database.
    """
    def  delete(repo, %{schema: schema}, _, _) do
         {:ok, schema}
    end

    @doc """
    Update Record of Ecto Schema Instance in  mnesia database.
    """
    def  update(_repo, %{schema: schema, source: {_, table}} = _meta, params, filter, _autogen, _opts) do

         rec = Ecto.Mnesia.Query.make_tuple(schema, params, String.to_atom table)
         res = :mnesia.dirty_write(rec)

         {:ok, []}
    end

    @doc """
    Mnesia starting during Adapter boot.
    """
    def ensure_all_started(_, _),     do: Application.ensure_all_started(:mnesia)

    @doc """
    Stopping Mnesia Adapter.
