HPCC-10301 Read enough data for mime header process when uploading files

When uploading files, a data buffer is used to process the file data
(1k) block by block. After one file is read, a part of file data for the
next file is left inside the data buffer. If the data does not contain
all of the mime headers for the file, the file data cannot be treated
properly. This fix checks the data size in the data buffer. If the
data buffer has less than 512 bytes, then I append the next 1K block
to the data buffer before processing.

Signed-off-by: Kevin Wang kevin.wang@lexisnexis.com
Merge pull request #5111 from wangkx/h10301

HPCC-10301 Read enough data for mime header process when uploading files

Reviewed-By: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10374 - Fix sorted loader issue effecting global sort

If global sort had spilt, but 0 rows left in memory when
finished, it would incorrectly return a NULL stream.

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

HPCC-10374 - Fix sorted loader issue effecting global sort

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10315 add unicode version of fn_hyphen_match

Implement UnicodeHyphenMatch() and UnicodeLocaleHyphenMatch() based on
the implementation of SALTxx.fn_hyphen_match()

Signed-off-by: Edin Muharemagic <edin.muharemagic@lexisnexis.com>
Merge branch 'saltlib_update' into candidate-4.2.0

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/candidate-4.2.0' into closedown-4.2.x

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/closedown-4.2.x'

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