Flesh out the tds_result structure to prepare for handling results.