~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/sel_tree.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-22 21:57:14 UTC
  • mto: This revision was merged to the branch mainline in revision 2348.
  • Revision ID: olafvdspek@gmail.com-20110622215714-0wmhwrx6of27etov
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
257
257
        optimizer::SEL_ARG *key2_next=key2->next;
258
258
        if (key2_shared)
259
259
        {
260
 
          if (! (key2=new optimizer::SEL_ARG(*key2)))
261
 
            return 0;           // out of memory
 
260
          key2=new optimizer::SEL_ARG(*key2);
262
261
          key2->increment_use_count(key1->use_count+1);
263
262
          key2->next= key2_next; // New copy of key2
264
263
        }