Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-16376

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 15.1.0.Dev03, 15.0.8.Final
    • None
    • RESP
    • None

      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
              vrigamon@redhat.com Vittorio Rigamonti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: