~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.cc

  • Committer: Monty Taylor
  • Date: 2009-08-24 14:57:56 UTC
  • mfrom: (1122 staging)
  • mto: This revision was merged to the branch mainline in revision 1124.
  • Revision ID: mordred@inaugust.com-20090824145756-7gw6t1l4ncgm455c
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2253
2253
  /* For the moment we just set everything to read */
2254
2254
  if (!show_table->read_set)
2255
2255
  {
2256
 
    bitmap_set_all(&show_table->def_read_set);
 
2256
    show_table->def_read_set.setAll();
2257
2257
    show_table->read_set= &show_table->def_read_set;
2258
2258
  }
2259
2259
  show_table->use_all_columns();               // Required for default
2458
2458
    return(0);
2459
2459
  my_bitmap_map* bitmaps=
2460
2460
    (my_bitmap_map*) session->alloc(bitmap_buffer_size(field_count));
2461
 
  bitmap_init(&table->def_read_set, (my_bitmap_map*) bitmaps, field_count);
 
2461
  table->def_read_set.init((my_bitmap_map*) bitmaps, field_count);
2462
2462
  table->read_set= &table->def_read_set;
2463
 
  bitmap_clear_all(table->read_set);
 
2463
  table->read_set->clearAll();
2464
2464
  table_list->schema_table_param= tmp_table_param;
2465
2465
  return(table);
2466
2466
}