diff options
| author | Matthew Sackman <matthew@lshift.net> | 2009-10-09 16:18:29 +0100 |
|---|---|---|
| committer | Matthew Sackman <matthew@lshift.net> | 2009-10-09 16:18:29 +0100 |
| commit | ac042d70eaf31c10bec0692a55039508b20afd3c (patch) | |
| tree | 2bca8ba87adf19269176974dce1a598687a5fa64 /src | |
| parent | 569579cadf4db05fd75f980f142356d5fc0d2774 (diff) | |
| download | rabbitmq-server-git-ac042d70eaf31c10bec0692a55039508b20afd3c.tar.gz | |
gee, can you tell none of this has been run yet?
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_variable_queue.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_variable_queue.erl b/src/rabbit_variable_queue.erl index 5a76c23e7a..a6574d4790 100644 --- a/src/rabbit_variable_queue.erl +++ b/src/rabbit_variable_queue.erl @@ -616,7 +616,8 @@ push_betas_to_gammas(Generator, Limit, Q, Count, IndexState) -> end. %% the first arg is the older gamma -combine_gammas(#gamma { count = 0 }, #gamma { count = 0 }) -> {undefined, 0}; +combine_gammas(#gamma { count = 0 }, #gamma { count = 0 }) -> + #gamma { seq_id = undefined, count = 0 }; combine_gammas(#gamma { count = 0 }, #gamma { } = B) -> B; combine_gammas(#gamma { } = A, #gamma { count = 0 }) -> A; combine_gammas(#gamma { seq_id = SeqIdLow, count = CountLow }, |
