~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/my_decimal.h

  • Committer: Brian Aker
  • Date: 2008-07-23 00:11:39 UTC
  • Revision ID: brian@tangent.org-20080723001139-967ewfngqqotwb6e
Removed final uint dead types.

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
  return (uint) (length - (scale>0 ? 1:0) - (unsigned_flag ? 0:1));
164
164
}
165
165
 
166
 
inline uint32_t my_decimal_precision_to_length(uint precision, uint8 scale,
 
166
inline uint32_t my_decimal_precision_to_length(uint precision, uint8_t scale,
167
167
                                             bool unsigned_flag)
168
168
{
169
169
  set_if_smaller(precision, DECIMAL_MAX_PRECISION);