~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/rpl_mi.cc

  • Committer: Monty Taylor
  • Date: 2008-10-02 01:31:53 UTC
  • mfrom: (398.1.6 codestyle-new)
  • Revision ID: monty@inaugust.com-20081002013153-b097om921cd3j1pn
MergedĀ fromĀ stdint-includes-fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
    if CHANGE MASTER did not specify it.  (no data loss in conversion
66
66
    as hb period has a max)
67
67
  */
68
 
  mi->heartbeat_period= (float) min((double)SLAVE_MAX_HEARTBEAT_PERIOD,
 
68
  mi->heartbeat_period= (float) cmin((double)SLAVE_MAX_HEARTBEAT_PERIOD,
69
69
                                    (slave_net_timeout/2.0));
70
70
  assert(mi->heartbeat_period > (float) 0.001
71
71
              || mi->heartbeat_period == 0);