Will Sugar Ruin An Engine?

People may have heard that if you want to get even with someone, put sugar in their gas tank. This is because the glucose in the sugar will make parts of the engine stick and not run properly.