Skip to content

Commit

Permalink
FIX: Update max ntokens for bop smget(new) with offset
Browse files Browse the repository at this point in the history
  • Loading branch information
namsic committed Dec 20, 2023
1 parent 12d48c6 commit bd37551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memcached.c
Original file line number Diff line number Diff line change
Expand Up @@ -12567,7 +12567,7 @@ static void process_bop_command(conn *c, token_t *tokens, const size_t ntokens)
(c->coll_efilter.ncompval==0 ? NULL : &c->coll_efilter));
}
#if defined(SUPPORT_BOP_MGET) || defined(SUPPORT_BOP_SMGET)
else if ((ntokens >= 7 && ntokens <= 13) &&
else if ((ntokens >= 7 && ntokens <= 14) &&
((strcmp(subcommand, "mget") == 0 && (subcommid = (int)OPERATION_BOP_MGET)) ||
(strcmp(subcommand, "smget") == 0 && (subcommid = (int)OPERATION_BOP_SMGET)) ))
{
Expand Down

0 comments on commit bd37551

Please sign in to comment.