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

zero-length strings should result in zero-length ByteBuffers

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 0.8 beta 1
    • Component/s: Legacy/CQL
    • Labels:
    • Severity:
      Normal

      Description

      The o.a.c.db.marshal.AbstractType.fromString() methods should return an empty ByteBuffer when passed a zero-length string, (empty bytes do validate() properly).

        Attachments

          Activity

            People

            • Assignee:
              urandom Eric Evans
              Reporter:
              urandom Eric Evans
              Authors:
              Eric Evans
              Reviewers:
              Gary Dusbabek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: