~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/create_field.cc

  • Committer: brian
  • Date: 2009-11-11 19:42:27 UTC
  • mfrom: (1211 staging)
  • mto: (1211.1.4 staging)
  • mto: This revision was merged to the branch mainline in revision 1212.
  • Revision ID: brian@orisndriz04-20091111194227-mky4am3ym0dlosaa
Update for Cursor renaming.

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
      length*= charset->mbmaxlen;
133
133
      key_length= pack_length;
134
134
      break;
135
 
    case DRIZZLE_TYPE_DECIMAL:
 
135
    case DRIZZLE_TYPE_NEWDECIMAL:
136
136
      key_length= pack_length=
137
137
        my_decimal_get_binary_size(my_decimal_length_to_precision(length,
138
138
                  decimals,
240
240
      break;
241
241
    case DRIZZLE_TYPE_NULL:
242
242
      break;
243
 
    case DRIZZLE_TYPE_DECIMAL:
 
243
    case DRIZZLE_TYPE_NEWDECIMAL:
244
244
      my_decimal_trim(&length, &decimals);
245
245
      if (length > DECIMAL_MAX_PRECISION)
246
246
      {