chore(mria): Get rid of copy_mnesia callback

This commit is contained in:
k32 2021-10-14 20:54:46 +02:00 committed by x1001100011
parent 22858eb845
commit 3e8b9ff76a
17 changed files with 0 additions and 17 deletions

View File

@ -26,7 +26,6 @@
-export([mnesia/1]). -export([mnesia/1]).
-boot_mnesia({mnesia, [boot]}). -boot_mnesia({mnesia, [boot]}).
-copy_mnesia({mnesia, [copy]}).
-export([post_config_update/4]). -export([post_config_update/4]).

View File

@ -27,7 +27,6 @@
-export([mnesia/1]). -export([mnesia/1]).
-boot_mnesia({mnesia, [boot]}). -boot_mnesia({mnesia, [boot]}).
-copy_mnesia({mnesia, [copy]}).
-export([start_link/0, stop/0]). -export([start_link/0, stop/0]).

View File

@ -28,7 +28,6 @@
-export([mnesia/1]). -export([mnesia/1]).
-boot_mnesia({mnesia, [boot]}). -boot_mnesia({mnesia, [boot]}).
-copy_mnesia({mnesia, [copy]}).
-export([start_link/2]). -export([start_link/2]).

View File

@ -27,7 +27,6 @@
-export([mnesia/1]). -export([mnesia/1]).
-boot_mnesia({mnesia, [boot]}). -boot_mnesia({mnesia, [boot]}).
-copy_mnesia({mnesia, [copy]}).
%% API %% API
-export([ start_link/0 -export([ start_link/0

View File

@ -28,7 +28,6 @@
-export([mnesia/1]). -export([mnesia/1]).
-boot_mnesia({mnesia, [boot]}). -boot_mnesia({mnesia, [boot]}).
-copy_mnesia({mnesia, [copy]}).
%% APIs %% APIs
-export([start_link/0]). -export([start_link/0]).

View File

@ -22,7 +22,6 @@
-export([mnesia/1]). -export([mnesia/1]).
-boot_mnesia({mnesia, [boot]}). -boot_mnesia({mnesia, [boot]}).
-copy_mnesia({mnesia, [copy]}).
%% Trie APIs %% Trie APIs
-export([ insert/1 -export([ insert/1

View File

@ -46,7 +46,6 @@
-export([mnesia/1]). -export([mnesia/1]).
-boot_mnesia({mnesia, [boot]}). -boot_mnesia({mnesia, [boot]}).
-copy_mnesia({mnesia, [copy]}).
-record(user_info, -record(user_info,
{ user_id { user_id

View File

@ -59,7 +59,6 @@
-export([mnesia/1]). -export([mnesia/1]).
-boot_mnesia({mnesia, [boot]}). -boot_mnesia({mnesia, [boot]}).
-copy_mnesia({mnesia, [copy]}).
-define(TAB, ?MODULE). -define(TAB, ?MODULE).

View File

@ -32,7 +32,6 @@
-endif. -endif.
-boot_mnesia({mnesia, [boot]}). -boot_mnesia({mnesia, [boot]}).
-copy_mnesia({mnesia, [copy]}).
-spec(mnesia(boot | copy) -> ok). -spec(mnesia(boot | copy) -> ok).
mnesia(boot) -> mnesia(boot) ->

View File

@ -21,7 +21,6 @@
-include("emqx_dashboard.hrl"). -include("emqx_dashboard.hrl").
-boot_mnesia({mnesia, [boot]}). -boot_mnesia({mnesia, [boot]}).
-copy_mnesia({mnesia, [copy]}).
%% Mnesia bootstrap %% Mnesia bootstrap
-export([mnesia/1]). -export([mnesia/1]).

View File

@ -25,7 +25,6 @@
-export([get_local_time/0]). -export([get_local_time/0]).
-boot_mnesia({mnesia, [boot]}). -boot_mnesia({mnesia, [boot]}).
-copy_mnesia({mnesia, [copy]}).
%% Mnesia bootstrap %% Mnesia bootstrap
-export([mnesia/1]). -export([mnesia/1]).

View File

@ -28,7 +28,6 @@
]). ]).
-boot_mnesia({mnesia, [boot]}). -boot_mnesia({mnesia, [boot]}).
-copy_mnesia({mnesia, [copy]}).
-export([mnesia/1]). -export([mnesia/1]).

View File

@ -56,7 +56,6 @@
%-export([mnesia/1]). %-export([mnesia/1]).
%-boot_mnesia({mnesia, [boot]}). %-boot_mnesia({mnesia, [boot]}).
%-copy_mnesia({mnesia, [copy]}).
%%% @doc Create or replicate tables. %%% @doc Create or replicate tables.
%-spec(mnesia(boot | copy) -> ok). %-spec(mnesia(boot | copy) -> ok).

View File

@ -30,7 +30,6 @@
-endif. -endif.
-boot_mnesia({mnesia, [boot]}). -boot_mnesia({mnesia, [boot]}).
-copy_mnesia({mnesia, [copy]}).
-include_lib("emqx/include/logger.hrl"). -include_lib("emqx/include/logger.hrl").
-include("emqx_machine.hrl"). -include("emqx_machine.hrl").

View File

@ -25,7 +25,6 @@
-export([mnesia/1]). -export([mnesia/1]).
-boot_mnesia({mnesia, [boot]}). -boot_mnesia({mnesia, [boot]}).
-copy_mnesia({mnesia, [copy]}).
-export([ start_link/0 -export([ start_link/0
, on_message_publish/1 , on_message_publish/1

View File

@ -30,7 +30,6 @@
-export([mnesia/1]). -export([mnesia/1]).
-boot_mnesia({mnesia, [boot]}). -boot_mnesia({mnesia, [boot]}).
-copy_mnesia({mnesia, [copy]}).
-export([ start_link/0 -export([ start_link/0
, stop/0 , stop/0

View File

@ -47,7 +47,6 @@
-export([mnesia/1]). -export([mnesia/1]).
-boot_mnesia({mnesia, [boot]}). -boot_mnesia({mnesia, [boot]}).
-copy_mnesia({mnesia, [copy]}).
-define(TAB, ?MODULE). -define(TAB, ?MODULE).
-define(PSK_SHARD, emqx_psk_shard). -define(PSK_SHARD, emqx_psk_shard).