summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2010-04-27 05:43:20 +0100
committerMatthias Radestock <matthias@lshift.net>2010-04-27 05:43:20 +0100
commit3a929e875629b2e6f850f50daff9d9311d850531 (patch)
treed15126be187deb69ba977fb877c4317e8193f93f
parent1566296dfd72e4975542b4d2add28c5927264023 (diff)
downloadrabbitmq-server-bug22651.tar.gz
explode on attempted double initialisation of queuebug22651
which inidicates a serious bug and thus we shouldn't ignore it
-rw-r--r--src/rabbit_amqqueue_process.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index b371bc2c..5e325794 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -759,8 +759,6 @@ handle_cast({init, Recover}, State = #q{message_buffer = undefined}) ->
false -> []
end,
noreply(State#q{message_buffer = queue:from_list(Messages)});
-handle_cast({init, _Recover}, State) ->
- noreply(State);
handle_cast({deliver, Txn, Message, ChPid}, State) ->
%% Asynchronous, non-"mandatory", non-"immediate" deliver mode.