From: Adam Dickmeiss Date: Mon, 20 Oct 2008 20:17:30 +0000 (+0200) Subject: Removed session member requestid (has no effect). X-Git-Tag: v1.1.0~83 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=b69ffeb3020d001f75730fe48fa9e462761c69e1;p=pazpar2-moved-to-github.git Removed session member requestid (has no effect). --- diff --git a/src/logic.c b/src/logic.c index 98a56a3..a882ac3 100644 --- a/src/logic.c +++ b/src/logic.c @@ -530,7 +530,6 @@ enum pazpar2_error_code search(struct session *se, se->reclist = 0; se->num_termlists = 0; criteria = parse_filter(se->nmem, filter); - se->requestid++; live_channels = select_targets(se, criteria); if (live_channels) { @@ -701,7 +700,6 @@ struct session *new_session(NMEM nmem) session->number_of_warnings_unknown_elements = 0; session->num_termlists = 0; session->reclist = 0; - session->requestid = -1; session->clients = 0; session->expected_maxrecs = 0; session->session_nmem = nmem; diff --git a/src/pazpar2.h b/src/pazpar2.h index 4330881..ded428d 100644 --- a/src/pazpar2.h +++ b/src/pazpar2.h @@ -127,7 +127,6 @@ struct session_watchentry { struct session { struct session_database *databases; // All databases, settings overriden struct client *clients; // Clients connected for current search - int requestid; NMEM session_nmem; // Nmem for session-permanent storage NMEM nmem; // Nmem for each operation (i.e. search, result set, etc) WRBUF wrbuf; // Wrbuf for scratch(i.e. search)