~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/fstring.cc

  • Committer: Brian Aker
  • Date: 2008-08-20 03:21:20 UTC
  • Revision ID: brian@tangent.org-20080820032120-lv3c5pu3owhex19j
flag cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
  /* See the comment for Field_long::store(long long) */
135
135
  assert(table->in_use == current_thd);
136
136
  uint length;
137
 
  if (table->in_use->variables.sql_mode &
138
 
      MODE_PAD_CHAR_TO_FULL_LENGTH)
139
 
    length= my_charpos(field_charset, ptr, ptr + field_length, field_length);
140
 
  else
141
 
    length= field_charset->cset->lengthsp(field_charset, (const char*) ptr,
142
 
                                          field_length);
 
137
 
 
138
  length= field_charset->cset->lengthsp(field_charset, (const char*) ptr, field_length);
143
139
  val_ptr->set((const char*) ptr, length, field_charset);
 
140
 
144
141
  return val_ptr;
145
142
}
146
143