summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2011-02-22 15:57:47 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2011-02-22 15:57:47 +0000
commit102c4420102346c0a66ff992eacb23630bd2d3f5 (patch)
tree4d17b382fa8a62fa6e263f9a5b9d37f839397441
parentcbcafda448298d83067c1c66536df1f49f52b7de (diff)
downloadrabbitmq-server-bug23877.tar.gz
better namebug23877
-rw-r--r--src/rabbit_mnesia.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_mnesia.erl b/src/rabbit_mnesia.erl
index 42f7e3b2..5e990d61 100644
--- a/src/rabbit_mnesia.erl
+++ b/src/rabbit_mnesia.erl
@@ -271,7 +271,7 @@ check_schema_integrity() ->
end
end) of
ok -> ok = wait_for_tables(),
- check_tables(fun check_table_integrity/2);
+ check_tables(fun check_table_content/2);
Other -> Other
end.
@@ -282,7 +282,7 @@ check_table_attributes(Tab, TabDef) ->
Attrs -> {error, {table_attributes_mismatch, Tab, ExpAttrs, Attrs}}
end.
-check_table_integrity(Tab, TabDef) ->
+check_table_content(Tab, TabDef) ->
{_, Match} = proplists:lookup(match, TabDef),
case mnesia:dirty_first(Tab) of
'$end_of_table' ->