8000 Sort command, limit parameter · Issue #11 · phpredis/phpredis · GitHub
[go: up one dir, main page]

Skip to content
Sort command, limit parameter #11
Closed
@MichelBartz

Description

@MichelBartz

Hi,

i found a little issue with the Sort command today, involving the "limit" parameter.

When passed a String as either offset or count (array("0","4")), the function will ignore the limit parameter altogether. It's easy to reproduce, just run a sort command and pass it an offset or count as a String, while running MONITOR on Redis and you'll the the LIMIT param is missing from the command.

Is it an expected behavior of this function?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0