HPCC-8806 Rename Delete Query to Deactivate on Queries Active tab

On existing EclWatch > Browse Queries > Active Tab, there is a Delete
button. This fix renames that button (and related code) to be
'Deactivate'.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-8890 - Avoid early abort losing original error

An early error from slave to master, caused graph execution
code to spot the abort condtion and fire a new spurious error,
losing the original.

Also add a better mechanism to abort in-flight receivers.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #4031 from jakesmith/hpcc-8890

HPCC-8890 - Avoid early abort losing original error

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8811 Return WUIDs in WsWorkunits/WUResubmit soap response

The existing soap response of WsWorkunits/WUResubmit returns an
empty response. This fix adds WUIDs into the response. If a new
WU is created by a Resubmit, the response returns both original
WUID and new WUID.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-8892 - Error on key build, with excessively large key+payload

Due to the internal 32k key+payload limit (impossed by legacy
header definition) - detect and fire an error if key+payload
exceeds the maximum.

Previously, if the keys managed to squeeze into key build process
but exceeded the maximum, then the key header 'length' was
truncated, causing a confusing error that key was larger than
this truncated value.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-8585 Ensure Priority is cloned into the workunit

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #4042 from ghalliday/issue8585

HPCC-8585 Ensure Priority is cloned into the workunit
HPCC-8862 Add support for csv escape characters to sprayVariable

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #4041 from jakesmith/hpcc-8892-2

HPCC-8892 - Error on key build, with excessively large key+payload

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4044 from ghalliday/issue8862

HPCC-8862 Add support for csv escape characters to sprayVariable

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8811 Revise based on review comments

Make version check more accurate; rename an old variable from
wuidStr to requestWuid.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Merge pull request #4040 from wangkx/h8811

HPCC-8811 Return WUIDs in WsWorkunits/WUResubmit soap response

Reviewed-By: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8907 Fix potential core/internal error constant folding CASE

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #4048 from ghalliday/issue8907

HPCC-8907 Fix potential core/internal error constant folding CASE

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4016 from wangkx/h8806

HPCC-8806 Rename Delete Query to Deactivate on Queries Active tab

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8911 - Deadlock adding duplicate subfile to super

If an existing subfile was added to a super, the transaction
mechanism would cause a locking deadlock on the 2nd add.
The 2nd add would attempt to gain an exclusive lock, having
already lookup the super+sub for read, thereby locking.
The transaction mechanism needs to check that the subfile
is not part of the super before that happens.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-8908 - Std distributor not reset in child query, lost recs

The standard distributor (as opposed to the pull distributor) was
not being fully reset when restarted - which effects distributors
in child queries, e.g. in a LOOP or GRAPH.
As a consequence, after the 1st iteration of LOOP/GRAPH,
distributed rows were received but throw away.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #4055 from jakesmith/hpcc-8908

HPCC-8908 - Std distributor not reset in child query, lost recs

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4053 from jakesmith/hpcc-8911

HPCC-8911 - Deadlock adding duplicate subfile to super

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Community Edition 3.10.4-5rc Release Candidate 5

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>