~stewart/drizzle/use-catalog-for-path

« back to all changes in this revision

Viewing changes to drizzled/type/decimal.h

  • Committer: Lee Bieber
  • Date: 2011-03-29 22:31:41 UTC
  • mfrom: (2257.1.3 build)
  • Revision ID: kalebral@gmail.com-20110329223141-yxc22h3l2he58sk0
Merge Andrew - 743842: Build failure using GCC 4.6
Merge Stewart - 738022: CachedDirectory silently fails to add entries if stat() fails
Merge Olaf - Common fwd: add copyright, add more declaration

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
*/
146
146
#define DECIMAL_MAX_STR_LENGTH (DECIMAL_MAX_POSSIBLE_PRECISION + 2)
147
147
 
148
 
namespace type {
149
 
class Decimal;
150
 
}
151
 
 
152
148
inline int class_decimal_int_part(uint32_t precision, uint32_t decimals)
153
149
{
154
150
  return precision - ((decimals == DECIMAL_NOT_SPECIFIED) ? 0 : decimals);