~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/my_decimal.h

  • Committer: Brian Aker
  • Date: 2008-07-20 07:10:24 UTC
  • Revision ID: brian@tangent.org-20080720071024-o1wv37gyy8ln5xgk
More my_bool cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
256
256
#endif
257
257
 
258
258
inline
259
 
int my_decimal2int(uint mask, const my_decimal *d, my_bool unsigned_flag,
 
259
int my_decimal2int(uint mask, const my_decimal *d, bool unsigned_flag,
260
260
                   int64_t *l)
261
261
{
262
262
  my_decimal rounded;
309
309
 
310
310
 
311
311
inline
312
 
int int2my_decimal(uint mask, int64_t i, my_bool unsigned_flag, my_decimal *d)
 
312
int int2my_decimal(uint mask, int64_t i, bool unsigned_flag, my_decimal *d)
313
313
{
314
314
  return check_result(mask, (unsigned_flag ?
315
315
                             uint64_t2decimal((uint64_t)i, d) :