Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-113

C++ version is using wrong endian for varints

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • c++
    • None

    Description

      I totally overlooked the wording in the spec that says least significant parts appear before more significant ones, and used the inverse convention.

      This was discovered when I compared to Java output (highlighting the absence of the interoperability tests for c++!).

      Here is a fix for the code. Interoperability tests should follow soon.

      Attachments

        1. AVRO-113.patch
          2 kB
          Scott Banachowski

        Activity

          People

            sbanacho Scott Banachowski
            sbanacho Scott Banachowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: