Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-5629

Incorrect handling of blob literals when the blob column is in reverse clustering order

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 1.2.6
    • Component/s: None
    • Labels:
    • Severity:
      Normal

      Description

      Parsing goes through ReversedType.fromString() in this case, and that doesn't strip "0x" when calling BytesType.fromString().

      The attached patch makes Constants.parsedValue() ReversedType-aware.

        Attachments

        1. 5629.txt
          1 kB
          Aleksey Yeschenko

          Activity

            People

            • Assignee:
              aleksey Aleksey Yeschenko
              Reporter:
              aleksey Aleksey Yeschenko
              Authors:
              Aleksey Yeschenko
              Reviewers:
              Sylvain Lebresne
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: