~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/quick_ror_intersect_select.cc

  • Committer: Brian Aker
  • Date: 2010-05-15 01:19:45 UTC
  • Revision ID: brian@gaz-20100515011945-uxhf94vi0tzm0vq6
Rename of KEY to KeyInfo

Show diffs side-by-side

added added

removed removed

Lines of Context:
254
254
       it != quick_selects.end();
255
255
       ++it)
256
256
  {
257
 
    KEY *key_info= head->key_info + (*it)->index;
 
257
    KeyInfo *key_info= head->key_info + (*it)->index;
258
258
    if (! first)
259
259
      str->append(',');
260
260
    else
263
263
  }
264
264
  if (cpk_quick)
265
265
  {
266
 
    KEY *key_info= head->key_info + cpk_quick->index;
 
266
    KeyInfo *key_info= head->key_info + cpk_quick->index;
267
267
    str->append(',');
268
268
    str->append(key_info->name);
269
269
  }
281
281
       it != quick_selects.end();
282
282
       ++it)
283
283
  {
284
 
    KEY *key_info= head->key_info + (*it)->index;
 
284
    KeyInfo *key_info= head->key_info + (*it)->index;
285
285
    if (first)
286
286
    {
287
287
      first= false;
298
298
 
299
299
  if (cpk_quick)
300
300
  {
301
 
    KEY *key_info= head->key_info + cpk_quick->index;
 
301
    KeyInfo *key_info= head->key_info + cpk_quick->index;
302
302
    key_names->append(',');
303
303
    key_names->append(key_info->name);
304
304
    length= internal::int64_t2str(cpk_quick->max_used_key_length, buf, 10) - buf;