~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_repl.cc

  • Committer: Brian Aker
  • Date: 2008-11-04 15:35:55 UTC
  • Revision ID: brian@tangent.org-20081104153555-oqcbyo49ps58ykzk
ulong conversion work

Show diffs side-by-side

added added

removed removed

Lines of Context:
1616
1616
  }
1617
1617
  pthread_mutex_unlock(&active_mi->rli.run_lock);
1618
1618
  pthread_mutex_unlock(&LOCK_active_mi);
1619
 
  var->save_result.ulong_value= (ulong) var->value->val_int();
 
1619
  var->save_result.uint32_t_value= (ulong) var->value->val_int();
1620
1620
  return result;
1621
1621
}
1622
1622
 
1634
1634
  if (!active_mi->rli.slave_running)
1635
1635
  {
1636
1636
    pthread_mutex_lock(&active_mi->rli.data_lock);
1637
 
    active_mi->rli.slave_skip_counter= var->save_result.ulong_value;
 
1637
    active_mi->rli.slave_skip_counter= var->save_result.uint32_t_value;
1638
1638
    pthread_mutex_unlock(&active_mi->rli.data_lock);
1639
1639
  }
1640
1640
  pthread_mutex_unlock(&active_mi->rli.run_lock);