qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob...@apache.org
Subject svn commit: r894443 - /qpid/branches/0.5.x-dev/qpid/java/broker/src/main/java/org/apache/qpid/server/store/DerbyMessageStore.java
Date Tue, 29 Dec 2009 17:07:01 GMT
Author: robbie
Date: Tue Dec 29 17:07:01 2009
New Revision: 894443

URL: http://svn.apache.org/viewvc?rev=894443&view=rev
Log:
QPID-2308: update exchange recovery retrieval of FT to use correct starting index 1 rather
than invalid index 0

Modified:
    qpid/branches/0.5.x-dev/qpid/java/broker/src/main/java/org/apache/qpid/server/store/DerbyMessageStore.java

Modified: qpid/branches/0.5.x-dev/qpid/java/broker/src/main/java/org/apache/qpid/server/store/DerbyMessageStore.java
URL: http://svn.apache.org/viewvc/qpid/branches/0.5.x-dev/qpid/java/broker/src/main/java/org/apache/qpid/server/store/DerbyMessageStore.java?rev=894443&r1=894442&r2=894443&view=diff
==============================================================================
--- qpid/branches/0.5.x-dev/qpid/java/broker/src/main/java/org/apache/qpid/server/store/DerbyMessageStore.java
(original)
+++ qpid/branches/0.5.x-dev/qpid/java/broker/src/main/java/org/apache/qpid/server/store/DerbyMessageStore.java
Tue Dec 29 17:07:01 2009
@@ -481,7 +481,7 @@
                     FieldTable argumentsFT = null;
                     if(arguments != null)
                     {
-                        byte[] argumentBytes = arguments.getBytes(0, (int) arguments.length());
+                        byte[] argumentBytes = arguments.getBytes(1, (int) arguments.length());
                         ByteBuffer buf = ByteBuffer.wrap(argumentBytes);
                         argumentsFT = new FieldTable(buf,arguments.length());
                     }



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message