The patch for bug 685411 erroneously removed a call of engine->set_thd() from Item_subselect::fix_fields().
Attach a file by drag & drop or click to upload