~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/enum.cc

  • Committer: kalebral at gmail
  • Date: 2010-12-04 04:58:08 UTC
  • mto: (1971.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1972.
  • Revision ID: kalebral@gmail.com-20101204045808-acto22oxfg43m02e
a few more updates of files that did not have license or had incorrect license structure

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
}