~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/create_field.cc

Simple encapsulation for table.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
 
75
75
  /* Fix if the original table had 4 byte pointer blobs */
76
76
  if (flags & BLOB_FLAG)
77
 
    pack_length= (pack_length - old_field->getTable()->getShare()->blob_ptr_size + portable_sizeof_char_ptr);
 
77
  {
 
78
    pack_length= (pack_length - old_field->getTable()->getShare()->sizeBlobPtr() + portable_sizeof_char_ptr);
 
79
  }
78
80
 
79
81
  switch (sql_type) 
80
82
  {