THRIFT-671. rb: Ruby compact protocol implementation gets mixed up when there are...
authorBryan Duxbury <bryanduxbury@apache.org>
Wed, 6 Jan 2010 23:12:09 +0000 (23:12 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Wed, 6 Jan 2010 23:12:09 +0000 (23:12 +0000)
commit35565a4719679523779d946420992bde33a4987c
tree6ed14b92463c081d5a5c7f65231d74254f0ce4a6
parent3076fb8d791a07d6f4933bcfb7875ef0d27cb70e
THRIFT-671. rb: Ruby compact protocol implementation gets mixed up when there are fields that don't fit in the delta space

This patch adds a test and a fix for the problem.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@896712 13f79535-47bb-0310-9956-ffa450edef68
lib/rb/ext/compact_protocol.c
lib/rb/lib/thrift/protocol/compact_protocol.rb
lib/rb/spec/compact_protocol_spec.rb
test/DebugProtoTest.thrift