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

[RESP] LPOP/RPOP does not throw error on incorrect number of arguments

XMLWordPrintable

      Infinispan:

      127.0.0.1:11222> lpush key value
      (integer) 1
      127.0.0.1:11222> lpop key 1 1
      1) "value"
      

      Redis:

      127.0.0.1:6379> lpush key value
      (integer) 1
      127.0.0.1:6379> lpop key 1 1
      (error) ERR wrong number of arguments for 'lpop' command
      

              vrigamon@redhat.com Vittorio Rigamonti
              rhn-support-pdrobek Pavel Drobek
              Pavel Drobek Pavel Drobek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: