~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_select.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-14 20:59:28 UTC
  • mto: (2318.6.3 refactor7)
  • mto: This revision was merged to the branch mainline in revision 2338.
  • Revision ID: olafvdspek@gmail.com-20110614205928-nfwxnx96skcvv0t9
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
539
539
   @retval
540
540
     1  Out of memory.
541
541
*/
542
 
bool update_ref_and_keys(Session *session,
 
542
void update_ref_and_keys(Session *session,
543
543
                         DYNAMIC_ARRAY *keyuse,
544
544
                         JoinTable *join_tab,
545
545
                         uint32_t tables,
683
683
      keyuse->set_size(i);
684
684
    }
685
685
  }
686
 
  return false; // return void
687
686
}
688
687
 
689
688
/**
5127
5126
    extra_length= ALIGN_SIZE(key_length)-key_length;
5128
5127
  }
5129
5128
 
5130
 
  if (hash_init(&hash, &my_charset_bin, (uint32_t) cursor.stats.records, 0, key_length, (hash_get_key) 0, 0, 0))
5131
 
    return 1;
 
5129
  hash_init(&hash, &my_charset_bin, (uint32_t) cursor.stats.records, 0, key_length, (hash_get_key) 0, 0, 0);
5132
5130
 
5133
5131
  if ((error= cursor.startTableScan(1)))
5134
5132
    goto err;