CM-MERGE:OB13.5.5-11 into 14.1.2

Former-commit-id: e852623f48 [formerly e95ee60224 [formerly c85d4369600bfc24405386aa71713d7f2d58b201]]
Former-commit-id: e95ee60224
Former-commit-id: 089b2559bb
This commit is contained in:
Brian.Dyke 2014-05-28 08:40:56 -04:00
parent 86eefc2026
commit fba5604613

View file

@ -2097,9 +2097,9 @@ public class PostShef {
String telem = null; String telem = null;
String sql = null; String sql = null;
Object[] oa = null; Object[] oa = null;
String key = locId + data.getPeTsE();
try { try {
if (!ingestSwitchMap.containsKey(locId)) { if (!ingestSwitchMap.containsKey(key)) {
errorMsg.append("Error getting connection to IHFS Database"); errorMsg.append("Error getting connection to IHFS Database");
sql = "select lid, pe, dur, ts, extremum, ts_rank, ingest, ofs_input, stg2_input from IngestFilter where lid = '" sql = "select lid, pe, dur, ts, extremum, ts_rank, ingest, ofs_input, stg2_input from IngestFilter where lid = '"
+ locId + "'"; + locId + "'";
@ -2136,11 +2136,11 @@ public class PostShef {
} }
} }
ingestSwitchMap.put(locId, ingestSwitch); ingestSwitchMap.put(key, ingestSwitch);
} }
matchFound = ingestSwitchMap.containsKey(locId); matchFound = ingestSwitchMap.containsKey(key);
ingestSwitch = ingestSwitchMap.get(locId); ingestSwitch = ingestSwitchMap.get(key);
/* /*
* if there is no ingest record for this entry, then check if the * if there is no ingest record for this entry, then check if the