~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/enum.cc

  • Committer: Stewart Smith
  • Date: 2010-11-03 03:28:23 UTC
  • mto: (1902.1.1 build) (1910.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1903.
  • Revision ID: stewart@flamingspork.com-20101103032823-44k21f0njmk97omr
fix docs warning: Title underline (and overline) is too short in brief_history_of_drizzle.rst

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
 
146
146
  ASSERT_COLUMN_MARKED_FOR_READ;
147
147
 
148
 
  if (not tmp || tmp > typelib->count)
 
148
  if (!tmp || tmp > typelib->count)
149
149
  {
150
150
    val_ptr->set("", 0, field_charset);
151
151
  }
208
208
  Field_enum *res= (Field_enum*) Field::new_field(root, new_table, keep_type);
209
209
  if (res)
210
210
  {
211
 
    res->typelib= typelib->copy_typelib(root);
 
211
    res->typelib= copy_typelib(root, typelib);
212
212
  }
213
213
  return res;
214
214
}