HPCC-8735 - Avoid seperate call to fetch total # workunits

ws_workunits, called numWorkUnitsFiltered and getWorkUnitsSorted
when requesting workunits. The latter was able to calculate the
total with minor modification and avoid the need for a seperate
pass with numWorkUnitsFiltered

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
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-8556 Refactor const char * query functions from helpers

Return roxiemem-allocated strings rather than having to store in context in
order to release.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8556 Refactor const char * query functions from helpers

Rename some queryXXX functions to getXXX and support values that are not
compile-time constant.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8882 Move workflow.cpp from eclrtl.so to workunit.so

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8882 Use the roxie class for an owned row in the stepping code

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8556 Refactor const char * query functions from helpers

Final batch

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8882 Remove unused dependency or roxiehelper on dalibase

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8882 Remove some dependencies of roxiehelper on roxie

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8556 Refactor const char * query functions from helpers

Optimize  getString() calls from codegen separately for varstring versus
string, to keep generated code size to a minimum.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8882 Merge roxiehelper into thorhelper

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8556 Refactor const char * query functions from helpers

Removed some unusued methods from context.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8556 Refactor const char * query functions from helpers

Renamed context method to something a little clearer.
Other minor changes from code review.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8882 Clean up source following review

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8556 Refactor const char * query functions from helpers

Change queryAlgorithm and queryCluster to complete the set.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8555 - reinstate getOptInt from mismerge

Signed-off-by: Jake Smith <jake.smith@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 #4030 from jakesmith/hpcc-8855_2

HPCC-8555 - reinstate getOptInt from mismerge

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8882 Add a dependency from thorhelper to dalibase

Strangely the system linked on linux even though there was a dependency.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8882 Add const to some addCluster() arguments

Cleaned up while investigating the dalibase dependency.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>