thd->command can be anything except COM_EXECUTE in no cases except programming error.
Attach a file by drag & drop or click to upload