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

Wrong ByteBuffer comparisons in TimeTypeTest

    XMLWordPrintableJSON

Details

    • Low

    Description

      The last three tests in org.apache.cassandra.db.marshal.TimeTypeTest compare the returned values of AbstractType.compare() with -1 or 1. However, AbstractType.compare() is supposed to return a negative integer, zero, or a positive integer, and it does not necessarily return -1 or 1.

      Attachments

        1. 11948-2.2.txt
          2 kB
          Rei Odaira

        Activity

          People

            ReiOdaira Rei Odaira
            ReiOdaira Rei Odaira
            Rei Odaira
            Joshua McKenzie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: