~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/string.h

  • Committer: Nathan Williams
  • Date: 2009-06-05 22:51:06 UTC
  • mto: This revision was merged to the branch mainline in revision 1063.
  • Revision ID: nathanlws@gmail.com-20090605225106-8xrsftpf50tdpumn
No actual code changes. Changed Create_field to CreateField to be consistent with coding standards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
      We have to have a different max_length than 'length' here to
36
36
      ensure that we get the right length if we do use the item
37
37
      to create a new table. In this case max_length must be the maximum
38
 
      number of chars for a string of this type because we in Create_field::
 
38
      number of chars for a string of this type because we in CreateField::
39
39
      divide the max_length with mbmaxlen).
40
40
    */
41
41
    max_length= str_value.numchars()*cs->mbmaxlen;