~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/func.cc

  • Committer: Brian Aker
  • Date: 2009-11-11 15:49:59 UTC
  • mto: This revision was merged to the branch mainline in revision 1212.
  • Revision ID: brian@gaz-20091111154959-jqu64e48gp9ig3tp
Updating with my change to to DECIMAL from NEWDECIMAL and Stewart's update
for protobuf to correctly store DECIMAL

Show diffs side-by-side

added added

removed removed

Lines of Context:
461
461
  case STRING_RESULT:
462
462
    return make_string_field(table);
463
463
  case DECIMAL_RESULT:
464
 
    field= new Field_new_decimal(my_decimal_precision_to_length(decimal_precision(),
465
 
                                                                decimals,
466
 
                                                                unsigned_flag),
467
 
                                 maybe_null,
468
 
                                 name,
469
 
                                 decimals,
470
 
                                 unsigned_flag);
 
464
    field= new Field_decimal(my_decimal_precision_to_length(decimal_precision(),
 
465
                                                            decimals,
 
466
                                                            unsigned_flag),
 
467
                             maybe_null,
 
468
                             name,
 
469
                             decimals,
 
470
                             unsigned_flag);
471
471
    break;
472
472
  case ROW_RESULT:
473
473
  default: