I know you didn't intend to word it that way, but it sounds a lot more... unpleasant that it needs to I'd pick having a cold, I can't do much of anything with food poisoning! At least a cold isn't going to make you take diarrhea/puke breaks!
I would not choose either. Passing germs with a bad cold would be better than the food poisoning I guess, but what a strange question to ask... Who would want to catch your cold or have sex with someone who had the awful symptoms of food poisoning? Freaky really