~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.cc

  • Committer: Olaf van der Spek
  • Date: 2011-10-24 11:55:49 UTC
  • mto: This revision was merged to the branch mainline in revision 2447.
  • Revision ID: olafvdspek@gmail.com-20111024115549-kimvi1pifyg57ghx
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
1007
1007
  tmp_field->table_name= "";
1008
1008
  tmp_field->col_name= name;
1009
1009
  tmp_field->charsetnr= collation.collation->number;
1010
 
  tmp_field->flags= (maybe_null ? 0 : NOT_NULL_FLAG) | (my_binary_compare(collation.collation) ? BINARY_FLAG : 0);
 
1010
  tmp_field->flags= (maybe_null ? 0 : NOT_NULL_FLAG) | (collation.collation->binary_compare() ? BINARY_FLAG : 0);
1011
1011
  tmp_field->type= field_type_arg;
1012
1012
  tmp_field->length= max_length;
1013
1013
  tmp_field->decimals= decimals;