~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/definitions.h

  • Committer: Olaf van der Spek
  • Date: 2011-02-12 15:43:03 UTC
  • mto: (2167.1.2 build) (2172.1.4 build)
  • mto: This revision was merged to the branch mainline in revision 2165.
  • Revision ID: olafvdspek@gmail.com-20110212154303-dyv21mmw2uahd383
casts

Show diffs side-by-side

added added

removed removed

Lines of Context:
387
387
#define MY_COLL_DISALLOW_NONE         4
388
388
#define MY_COLL_CMP_CONV              7
389
389
 
390
 
inline static void clear_timestamp_auto_bits(enum timestamp_auto_set_type &_target_, 
391
 
                                             const enum timestamp_auto_set_type _bits_)
 
390
inline static void clear_timestamp_auto_bits(timestamp_auto_set_type &_target_, 
 
391
                                             timestamp_auto_set_type _bits_)
392
392
{
393
 
  _target_= (enum timestamp_auto_set_type)((int)(_target_) & ~_bits_);
 
393
  _target_= static_cast<timestamp_auto_set_type>(_target_ & ~_bits_);
394
394
}
395
395
 
396
396
/*