~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/join.cc

  • Committer: Mark Atwood
  • Date: 2011-06-30 07:03:08 UTC
  • mto: This revision was merged to the branch mainline in revision 2358.
  • Revision ID: me@mark.atwood.name-20110630070308-4380q6dqkkqv92w2
fix cppcheck redundantIfDelete0 warnings.  It is safe to deallocate a NULL pointer

Show diffs side-by-side

added added

removed removed

Lines of Context:
2806
2806
 
2807
2807
  if (join_tab->use_quick == 2)
2808
2808
  {
2809
 
    if (join_tab->select->quick)
2810
 
    {                                   /* Used quick select last. reset it */
2811
 
      delete join_tab->select->quick;
2812
 
      join_tab->select->quick=0;
2813
 
    }
 
2809
    delete join_tab->select->quick;
 
2810
    join_tab->select->quick= 0;
2814
2811
  }
2815
2812
  /* read through all records */
2816
2813
  if ((error=join_init_read_record(join_tab)))