HPCC-8174 Global loop regression

Missing condition in master could cause non loop again queries
to deadlock

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #3600 from jakesmith/globalloop-regression

HPCC-8174 Global loop regression

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8176 Regression in library resolve code

The rewriten code for resolving libraries was flawed, in that each query
kept a pointer to an object that would be destroyed by the next query load
operation.

The selection of the query manager to use for library resolution needs to
be delayed until actual library resolution time.

This code fixes the core, but requires that the query use the same package
as any library it uses. It's not clear if that is a sensible restriction
without some more thought.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3604 from richardkchapman/roxie-library-core-8176

HPCC-8176 Regression in library resolve code

Reviewed-By: Renato Golin <rengolin@hpccsystems.com>
Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Stuart Ort <stuart.ort@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-3095 Format result columns from XML Schema

Also added basic support for nested child datasets.

Fixes HPCC-3095
Fixes HPCC-8052

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Manually merge branch 'GordonSmith/HPCC-3095' into candidate-3.10.0

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8188 Correct spelling in usage section for ecl roxie

Signed-off-by: Stuart Ort <stuart.ort@lexisnexis.com>
Merge branch 'eclroxie_typo' into candidate-3.10.0

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8194 CRoxiePackageSetManager does not initialize stateHash

The initial value of statehash is not set, meaning that the value returned
by control:state and control:reload is fairly meaningless.

This value is only used by operations as a sanity-check that all nodes in
a cluster are in sync - see HPCC-2706

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3613 from richardkchapman/stateHash-8194

HPCC-8194 CRoxiePackageSetManager does not initialize stateHash

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8180 Roxie issues reloading changed files

Various issues related to how Roxie caches file references:

1. A memory leak was causing files to be locked longer than they should
2. Using just the file time and not the CRC to determine if the slave
   dynamic file cache entries are valid. Time is only accurate to 1s,
   it seems
3. Files were always being copied regardless of the settings of
   useRemoteResources/copyResources. Some code that was intended to be
   temporary had been left in.
4. Refactor to remove some unused functions

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

HPCC-8180 Roxie issues reloading changed files
HPCC-8090 Remove LD_LIBRARY_PATH

Fix HPCC-8090 Remove all references to LD_LIBRARY_PATH
meaning the command, source /opt/HPCCSystems/sbin/hpcc_setenv
From all instances in the documentation

Signed-off-by: G Panagiotatos <greg.panagiotatos@lexisnexis.com>
HPCC-8083 Ecl packagemap no longer needs to support copyFiles

Signed-off-by: Stuart Ort <stuart.ort@lexisnexis.com>
HPCC-7927 Run Together Text Fix

Fix HPCC-7927 Formatting issue in the doc
where two terms ran together.

Signed-off-by: G Panagiotatos <greg.panagiotatos@lexisnexis.com>
HPCC-8119 ParsePattern in HTML

Fix HPCC-8119 Formatting issues in the HTML
version of the Parse Pattern Definitions portion
of the ECL Language reference.

Signed-off-by: G Panagiotatos <greg.panagiotatos@lexisnexis.com>
HPCC-8115 Building HPCC-Platform in Ubuntu 12.10

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
HPCC-8124 Check for failed malloc

Specifying a large value for DATA[n] such as DATA10000000000 causes ECLCC
to core. This fixes that problem by checking for a failed malloc and
throwing if it happens

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>
HPCC-8125  Docs say either IP or hostname can be used in ecl cli

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>