~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/enum.cc

  • Committer: Eric Herman
  • Date: 2008-12-06 19:42:46 UTC
  • mto: (656.1.6 devel)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: eric@mysql.com-20081206194246-5cdexuu81i366eek
removed trailing whitespace with simple script:

for file in $(find . -name "*.c") $(find . -name "*.cc") $(find . -name "*.h"); do ruby -pe 'gsub(/\s+$/, $/)' < $file > $file.out; mv $file.out $file; done;

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
 
96
96
  /* Convert character set if necessary */
97
97
  if (String::needs_conversion(length, cs, field_charset, &not_used))
98
 
  { 
 
98
  {
99
99
    uint32_t dummy_errors;
100
100
    tmpstr.copy(from, length, cs, field_charset, &dummy_errors);
101
101
    from= tmpstr.ptr();
206
206
/**
207
207
   Save the field metadata for enum fields.
208
208
 
209
 
   Saves the real type in the first byte and the pack length in the 
 
209
   Saves the real type in the first byte and the pack length in the
210
210
   second byte of the field metadata array at index of *metadata_ptr and
211
211
   *(metadata_ptr + 1).
212
212