~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/definition/table.cc

  • Committer: Brian Aker
  • Date: 2010-12-25 00:28:49 UTC
  • mto: This revision was merged to the branch mainline in revision 2031.
  • Revision ID: brian@tangent.org-20101225002849-g73mg6ihulajis0o
First pass in refactoring of the name of my_decimal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1000
1000
      {
1001
1001
        message::Table::Field::NumericFieldOptions fo= pfield.numeric_options();
1002
1002
 
1003
 
        field_pack_length[fieldnr]= my_decimal_get_binary_size(fo.precision(), fo.scale());
 
1003
        field_pack_length[fieldnr]= class_decimal_get_binary_size(fo.precision(), fo.scale());
1004
1004
      }
1005
1005
      break;
1006
1006
    default:
1280
1280
      {
1281
1281
        message::Table::Field::NumericFieldOptions fo= pfield.numeric_options();
1282
1282
 
1283
 
        field_length= my_decimal_precision_to_length(fo.precision(), fo.scale(),
 
1283
        field_length= class_decimal_precision_to_length(fo.precision(), fo.scale(),
1284
1284
                                                     false);
1285
1285
        break;
1286
1286
      }