Fix invalid pointer access in generated code
Fix invalid pointer access in generated code

A call to an external function that returned a row (e.g., FROMXML)
in a conditional context could cause the result to be aliased, and
then go out of scope, leading to an invalid pointer reference.

Signed-off-by: Gavin Halliday <2edfa8aca9fb78974188e5b35be8b52d4e4967ae@lexisnexis.com>

afishbeck/HPCC-Platform,afishbeck/HPCC-Platform,afishbeck/HPCC-Platform,afishbeck/HPCC-Platform,afishbeck/HPCC-Platform,afishbeck/HPCC-Platform