Skip to content
Snippets Groups Projects
Commit 73fa8b7d authored by Howard Chu's avatar Howard Chu
Browse files

ITS#3153 only cache queries with at least one entry

parent 464866d5
No related branches found
No related tags found
No related merge requests found
......@@ -1224,7 +1224,7 @@ proxy_cache_response(
si->tail = NULL;
}
}
} else if ( rs->sr_type == REP_RESULT && !si->over ) {
} else if ( rs->sr_type == REP_RESULT && si->count ) {
if ( cache_entries( op, rs, &uuid ) == 0) {
qm->addfunc(qm, &si->query, si->template_id, &uuid);
/* If the consistency checker suspended itself,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment