- attach the ResultMetaData to the Compiled object, when we detect that
the compiled cache is used.  That allows us to cache the whole metadata
and save on creating it at result time, when compiled cache is used.