~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/my_decimal.h

  • Committer: Brian Aker
  • Date: 2008-10-06 00:33:01 UTC
  • mto: This revision was merged to the branch mainline in revision 479.
  • Revision ID: brian@gir-20081006003301-uz4u8tyrws0lxq79
Removed binlog tool (we need to rewrite it) and removed all the hooks for
embedding the server in a client tool (--awful hack).

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
  uint precision() const { return intg + frac; }
128
128
};
129
129
 
130
 
#ifndef DRIZZLE_CLIENT
131
130
int decimal_operation_results(int result);
132
 
#else
133
 
inline int decimal_operation_results(int result)
134
 
{
135
 
  return result;
136
 
}
137
 
#endif /*DRIZZLE_CLIENT*/
138
131
 
139
132
inline
140
133
void max_my_decimal(my_decimal *to, int precision, int frac)
261
254
}
262
255
 
263
256
 
264
 
#ifndef DRIZZLE_CLIENT
265
257
int my_decimal2string(uint mask, const my_decimal *d, uint fixed_prec,
266
258
                      uint fixed_dec, char filler, String *str);
267
 
#endif
268
259
 
269
260
inline
270
261
int my_decimal2int(uint mask, const my_decimal *d, bool unsigned_flag,