~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/opt_range.cc

  • Committer: Brian Aker
  • Date: 2008-07-05 19:24:24 UTC
  • mfrom: (53.2.8 codestyle)
  • Revision ID: brian@tangent.org-20080705192424-3uslywtteymm7xqy
First pass of removing BIT_TYPE

Show diffs side-by-side

added added

removed removed

Lines of Context:
9961
9961
      store_length--;
9962
9962
    }
9963
9963
    field->set_key_image(key, key_part->length);
9964
 
    if (field->type() == MYSQL_TYPE_BIT)
9965
 
      (void) field->val_int_as_str(&tmp, 1);
9966
 
    else
9967
 
      field->val_str(&tmp);
 
9964
    field->val_str(&tmp);
9968
9965
    fwrite(tmp.ptr(),sizeof(char),tmp.length(),DBUG_FILE);
9969
9966
    if (key+store_length < key_end)
9970
9967
      fputc('/',DBUG_FILE);