summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2010-08-12 14:52:46 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2010-08-12 14:52:46 +0100
commit45ff6f827dab79075d10433677b7ff8d364bc7c0 (patch)
treea793101cb0f888ad82099b0454ee215f5a111f5a /src
parent32f9685cf78dca82ef207368a779ec64adf6ae1f (diff)
downloadrabbitmq-server-git-45ff6f827dab79075d10433677b7ff8d364bc7c0.tar.gz
type; all java tests pass now
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_channel.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index 22511b2491..5c153b8584 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -875,7 +875,7 @@ handle_method(#'queue.purge'{queue = QueueNameBin,
#'queue.purge_ok'{message_count = PurgedMessageCount});
-handle_method(#'tx.select'{}, _, #ch{confirm = #confirm{enabled = false}}) ->
+handle_method(#'tx.select'{}, _, #ch{confirm = #confirm{enabled = true}}) ->
rabbit_misc:protocol_error(
precondition_failed, "a confirm channel cannot be made transactional", []);