Question: do gasoline and diesel mix?
Answer: Diesel engines will run on a lot of different types of fuel (including biodiesel and leftover frying oil), but they will not run on gasoline. Mixing in a little amount of gasoline with diesel is a bad idea, but might not be catastrophic. A large amount of gasoline will cause significant damage to a diesel engine.