HPCC-10490 Show primary clusters for XRef

In multi-thor setups, the XREF cluster list should show
primary thor instances. In this fix, getPrimaryThorProcesses()
is added to IConstWUClusterInfo. The method picks primary
thor instance only if thor name matches the group name.
Using that method, WsDfuXRef service shows primary thor
instances in the XREF cluster list.

Signed-off-by: Kevin Wang kevin.wang@lexisnexis.com
HPCC-10490 Rename a variable based on review

The primaryThorProcess is renamed to primaryThorProcesses
to reflect plural.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-10552 Fix various leaks and out of bound accesses

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-10552 Close a couple of sockets in error situations

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-10552 Fix a couple of leaks

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-10552 Need to call malloc (to match called by setBuffer)

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-10552 Uninitialised variable and leak

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-10552 Break instead of return to ensure replytags,intertags deleted

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-10552 Missing va_end() calls and other minor issues

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-10552 More cleaning up and removing dead code

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-10552 A few more one-off errors reported by Coverity

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-10552 Correct typo from review

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-10534 Optimize IF(PROJECT, PROJECT)

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-10534 Add a debug option 'optimizeMax'
HPCC-10461 Add additional plugins for external databases

Added sqlite plugin as a POC

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10461 Add additional plugins for external databases

Added initial version of MySQL embed support

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10461 Add additional plugins for external databases

Additional MySQL fixes, including lazy streamed inputs, and minor fixup
spotted in code review.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10555 Fix Out of Bounds array access

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
HPCC-10547 Reduce contention for persist locks by timing out quicker

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-10386 Playground Sample Has Corrupted Chars

The Java Embed Example shows corrupted chars.  Fixed by converting BOM to UTF-8.

Fixes HPCC-10386

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>