~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/cmpfunc.cc

  • Committer: Brian Aker
  • Date: 2010-12-25 00:44:06 UTC
  • mto: This revision was merged to the branch mainline in revision 2031.
  • Revision ID: brian@tangent.org-20101225004406-4xna6p795yqkaony
Second pass through function names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1881
1881
    dec= row->element_index(0)->val_decimal(&dec_buf);
1882
1882
    if (row->element_index(0)->null_value)
1883
1883
      return -1;
1884
 
    my_decimal2double(E_DEC_FATAL_ERROR, dec, &value);
 
1884
    class_decimal2double(E_DEC_FATAL_ERROR, dec, &value);
1885
1885
  }
1886
1886
  else
1887
1887
  {
3255
3255
  my_decimal *res= item->val_decimal(dec);
3256
3256
  /* if item->val_decimal() is evaluated to NULL then res == 0 */
3257
3257
  if (!item->null_value && res != dec)
3258
 
    my_decimal2decimal(res, dec);
 
3258
    class_decimal2decimal(res, dec);
3259
3259
}
3260
3260
 
3261
3261
 
3423
3423
  my_decimal *val= item->val_decimal(&value);
3424
3424
  /* val may be zero if item is nnull */
3425
3425
  if (val && val != &value)
3426
 
    my_decimal2decimal(val, &value);
 
3426
    class_decimal2decimal(val, &value);
3427
3427
}
3428
3428
 
3429
3429