Fix build break from merge conflicts

Former-commit-id: 5052388bd43b0e42430fd741fb2b403544684246
This commit is contained in:
John Sully 2021-04-07 15:25:22 +00:00
parent d832ebb221
commit 1bf5477602
2 changed files with 2 additions and 2 deletions

View File

@ -3029,7 +3029,7 @@ bool redisDbPersistentData::prefetchKeysAsync(client *c, parsed_command &command
}
}
#endif
return;
return false;
}
AeLocker lock;

View File

@ -2369,7 +2369,7 @@ void parseClientCommandBuffer(client *c) {
}
/* Prefetch outside the lock for better perf */
if (cqueries < c->vecqueuedcmd.size() && !GlobalLocksAcquired()) {
if (cqueriesStart < c->vecqueuedcmd.size() && !GlobalLocksAcquired()) {
auto &query = c->vecqueuedcmd.back();
if (query.argc > 0 && query.argc == query.argcMax) {
if (c->db->prefetchKeysAsync(c, query, c->vecqueuedcmd.size() == 1)) {