A roof collapse at a grocery store in Oakdale injured two people and flooded the building, the Modesto Fire Department said.