Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-4796

Set the correct length of parameters when constructing the Redis arguments

XMLWordPrintable

      Currently the arguments when constructing the PARAMS part of a redis query are incorrect.

      `queryArgs.param("key", "value")` currently results in:
      ```
      PARAMS 1 key value
      ```

      However, this change would correct it to construct:
      ```
      PARAMS 2 key value
      ```

      I believe the unit tests happen to be passing by pure chance as they are constructing something similar to this at the moment:
      ```
      PARAMS 2 blob blob_data DIALECT 2
      ```

              Unassigned Unassigned
              olubyans@redhat.com Alexey Loubyansky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: