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

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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

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
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: