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

zero-length strings should result in zero-length ByteBuffers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.8 beta 1
    • Legacy/CQL
    • 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

            urandom Eric Evans
            urandom Eric Evans
            Eric Evans
            Gary Dusbabek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: