Removed session member requestid (has no effect).
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 20 Oct 2008 20:17:30 +0000 (22:17 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 20 Oct 2008 20:17:30 +0000 (22:17 +0200)
src/logic.c
src/pazpar2.h

index 98a56a3..a882ac3 100644 (file)
@@ -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;
index 4330881..ded428d 100644 (file)
@@ -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)