~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_select.cc

  • Committer: Brian Aker
  • Date: 2008-07-13 20:15:48 UTC
  • Revision ID: brian@tangent.org-20080713201548-7u4e4a7glm3fi5xn
my_bool cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
4948
4948
{
4949
4949
  KEYUSE *best_key=         0;
4950
4950
  uint best_max_key_part=   0;
4951
 
  my_bool found_constraint= 0;
 
4951
  bool found_constraint= 0;
4952
4952
  double best=              DBL_MAX;
4953
4953
  double best_time=         DBL_MAX;
4954
4954
  double records=           DBL_MAX;
6277
6277
  if (null_fields)
6278
6278
    rec_length+=(join_tab->table->s->null_fields+7)/8;
6279
6279
  if (join_tab->table->maybe_null)
6280
 
    rec_length+=sizeof(my_bool);
 
6280
    rec_length+=sizeof(bool);
6281
6281
  if (blobs)
6282
6282
  {
6283
6283
    uint blob_length=(uint) (join_tab->table->file->stats.mean_rec_length-
14487
14487
  key_part_end=key_part+table->key_info[idx].key_parts;
14488
14488
  key_part_map const_key_parts=table->const_key_parts[idx];
14489
14489
  int reverse=0;
14490
 
  my_bool on_primary_key= false;
 
14490
  bool on_primary_key= false;
14491
14491
 
14492
14492
  for (; order ; order=order->next, const_key_parts>>=1)
14493
14493
  {
17937
17937
      }
17938
17938
 
17939
17939
      /* Build "Extra" field and add it to item_list. */
17940
 
      my_bool key_read=table->key_read;
 
17940
      bool key_read=table->key_read;
17941
17941
      if ((tab->type == JT_NEXT || tab->type == JT_CONST) &&
17942
17942
          table->covering_keys.is_set(tab->index))
17943
17943
        key_read=1;