-
Notifications
You must be signed in to change notification settings - Fork 106
Fix use of key pos API, and point to first tensor key in command def #161
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
Conversation
src/redisai.c
Outdated
|
|
||
| if (RedisModule_IsKeysPositionRequest(ctx)) { | ||
| RedisModule_KeyAtPos(ctx, 1); | ||
| for (int i=1; i<argc; i++) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't you start from 2?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Damn
src/redisai.c
Outdated
|
|
||
| if (RedisModule_IsKeysPositionRequest(ctx)) { | ||
| RedisModule_KeyAtPos(ctx, 1); | ||
| for (int i=2; i<argc; i++) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't you start from 3?
MeirShpilraien
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See small comments, other then this looks good.
|
Fixed, good catch :-) |
Addresses #160
/cc @MeirShpilraien