Split off candidate-4.2.6 branch

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11278 Fix core when calling WUListQueriesUsingFile with LDAP

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-11188 Copy query attributes when copying queries

ecl-queries-copy will now copy query attributes (memoryLimit,
timeLimit, warnTimeLimit, priority, and comment) when copying queries.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-11187 ecl-queries-list should show wuid and snapshot info

Add wuid and snapshot info to the output of ecl-queries-list.

Reformat output to be more readable and extensible.

For performance reasons snapshot will only show up for queries published
after the build containing this change in installed.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Merge pull request #5759 from afishbeck/queriesListWuidAndSnapshot

HPCC-11187 ecl-queries-list should show wuid and snapshot info

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5757 from afishbeck/fileUsedByQueriesLdapCore

HPCC-11278 Fix core when calling WUListQueriesUsingFile with LDAP

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11284 Assert failure on certain (unusual) file names in Roxie queries

File names that might be accepted by dali but which contain characters that
are not accepted in an xpath will cause asserts in Roxie's local cache of dali
information

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11284 Assert failure on certain (unusual) file names in Roxie queries

Make sure that the xpath used always starts with a valid alpha character.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5761 from richardkchapman/roxie-assert-filecache

HPCC-11284 Assert failure on certain (unusual) file names in Roxie queries

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #5758 from afishbeck/copyQueryMetaData11188

HPCC-11188 Copy query attributes when copying queries

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/candidate-4.2.6' into closedown-4.2.x

Conflicts:
	version.cmake

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11310 Fix signature of addNamedQuery() in workunit.hpp

Snapshot parameter was added to the method in the cpp but not
the header. Only used externally by eclserver.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Merge pull request #5772 from afishbeck/lnnamedquery

HPCC-11310 Fix signature of addNamedQuery() in workunit.hpp

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge branch 'candidate-4.2.6' into closedown-4.2.x

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11304 Field translation options not working correctly

There are several mechanisms for controlling whether field translation should
be allowed.

 1. In the workunit, using #option (layoutTranslationEnabled,1)
 2. In the package file, using control:enableFieldTranslation=”1”
 3. In the RoxieTopology.xml file, using fieldTranslationEnabled=”1”

The global setting can be overridden temporarily (until the next time “service
hpcc-init start” is executed) using testsocket

In theory, the workunit setting should (if present) override the package file,
which should in turn (if present) override the global setting. If none are
present, field translation is disabled.

However, the workunit setting was always used, defaulting to false if not
present.

Also make the control: optional in the package file for back-compatibility

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5774 from richardkchapman/enable-field-translation

HPCC-11304 Field translation options not working correctly

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-11283 Use cluster ldap user when building queries using file cache

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-11305 Add support for the compulsory attribute in packagemaps

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Merge pull request #5803 from afishbeck/compulsory

HPCC-11305 Add support for the compulsory attribute in packagemaps

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5796 from afishbeck/roxieLdapUser

HPCC-11283 Use cluster ldap user when building queries using file cache

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>