diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2011-02-22 15:57:47 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2011-02-22 15:57:47 +0000 |
commit | 102c4420102346c0a66ff992eacb23630bd2d3f5 (patch) | |
tree | 4d17b382fa8a62fa6e263f9a5b9d37f839397441 | |
parent | cbcafda448298d83067c1c66536df1f49f52b7de (diff) | |
download | rabbitmq-server-bug23877.tar.gz |
better namebug23877
-rw-r--r-- | src/rabbit_mnesia.erl | 4 |
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' -> |