~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/sum.cc

  • Committer: Olaf van der Spek
  • Date: 2011-07-05 11:31:30 UTC
  • mto: This revision was merged to the branch mainline in revision 2367.
  • Revision ID: olafvdspek@gmail.com-20110705113130-4108s0gpx0b6txqa
Use assert(false) instead of assert(1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1121
1121
  case Item_func::EQUAL_FUNC:
1122
1122
    break;
1123
1123
  default:                                        // Keep compiler happy
1124
 
    assert(1);                               // Impossible
1125
 
    break;
 
1124
    assert(false);                               // Impossible
1126
1125
  }
1127
1126
  return 0;
1128
1127
}