If a flight is canceled for operational reasons (such as a mechanical problem or crew scheduling conflicts) most airline contracts stipulate that you have to be put on the next available flight, even if it's on another airline.
NPR: Don't Pack that Pumpkin Pie Just Yet...