Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-7167

[RESP] HRANDFIELD key shouldn't return an array

XMLWordPrintable

      HRANDFIELD key without count specified should return string

      Infinispan:

      127.0.0.1:11222> HELLO 3
      ...
      127.0.0.1:11222> HSET myhash a 1 b 2 sez1m 3
      (integer) 3
      127.0.0.1:11222> HRANDFIELD myhash
      1) "b"
      

      Redis:

      127.0.0.1:6379> hello 3
      ...
      127.0.0.1:6379> HSET myhash a 1 b 2 c 3
      (integer) 0
      127.0.0.1:6379> HRANDFIELD myhash
      "a"
      

              rh-ee-jbolina Jose Bolina
              rhn-support-pdrobek Pavel Drobek
              Pavel Drobek Pavel Drobek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: