Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SCRIPT EXISTS arity #1567

Merged
merged 3 commits into from
Jul 10, 2023
Merged

Conversation

enjoy-binbin
Copy link
Member

This is a minor fix, SCRIPT EXISTS requires at least
three arguments.

Before the change, we can do this:

127.0.0.1:6666> script exists
(empty array)

After: we will return wrong number of arguments error.
It's just a tiny bug or cleanup.

This is a minor fix, SCRIPT EXISTS requires at least
three arguments.

Before the change, we can do this:
```
127.0.0.1:6666> script exists
(empty array)
```

After: we will return wrong number of arguments error.
It's just a tiny bug or cleanup.
@PragmaTwice PragmaTwice added the A-scripting area scripting label Jul 9, 2023
@git-hulk git-hulk merged commit 909d587 into apache:unstable Jul 10, 2023
@enjoy-binbin enjoy-binbin deleted the fix_script_exists_arity branch July 10, 2023 09:11
git-hulk pushed a commit to git-hulk/kvrocks that referenced this pull request Jul 30, 2023
This is a minor fix, SCRIPT EXISTS requires at least
three arguments.

Before the change, we can do this:

```
127.0.0.1:6666> script exists
(empty array)
```

After: we will return the wrong number of arguments error.
@git-hulk git-hulk mentioned this pull request Jul 31, 2023
git-hulk pushed a commit that referenced this pull request Aug 1, 2023
This is a minor fix, SCRIPT EXISTS requires at least
three arguments.

Before the change, we can do this:

```
127.0.0.1:6666> script exists
(empty array)
```

After: we will return the wrong number of arguments error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-scripting area scripting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants