diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_mnesia.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_mnesia.erl b/src/rabbit_mnesia.erl index 42b5e5021b..84c376b5cf 100644 --- a/src/rabbit_mnesia.erl +++ b/src/rabbit_mnesia.erl @@ -238,8 +238,7 @@ check_schema_integrity() -> case lists:all(fun(Tab) -> {_, TabDef} = proplists:lookup(Tab, TabDefs), {_, ExpAttrs} = proplists:lookup(attributes, TabDef), - Attrs = mnesia:table_info(Tab, attributes), - lists:usort(ExpAttrs) == lists:usort(Attrs) + ExpAttrs == mnesia:table_info(Tab, attributes) end, table_names()) of true -> ok; false -> {error, database_tables_incompatible} |
