projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17607c7
)
Avoid re-using backends for Explain searches
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 23 Feb 2012 10:41:44 +0000
(11:41 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 23 Feb 2012 10:41:44 +0000
(11:41 +0100)
This fixes a bug where re-used IR-Explain---1 searches would
result in an empty response.
src/filter_zoom.cpp
patch
|
blob
|
history
diff --git
a/src/filter_zoom.cpp
b/src/filter_zoom.cpp
index
a79a19c
..
0931029
100644
(file)
--- a/
src/filter_zoom.cpp
+++ b/
src/filter_zoom.cpp
@@
-815,7
+815,8
@@
yf::Zoom::BackendPtr yf::Zoom::Frontend::get_backend_from_databases(
int *proxy_step)
{
std::list<BackendPtr>::const_iterator map_it;
- if (m_backend && m_backend->m_frontend_database == database)
+ if (m_backend && !m_backend->enable_explain &&
+ m_backend->m_frontend_database == database)
return m_backend;
std::string input_args;