Commit 20b31233 authored by unknown's avatar unknown

one more fix for Intvar 22 offset mystery bug


sql/slave.cc:
  mi->pending needed a reset in one more place
parent 8b029b07
...@@ -348,7 +348,7 @@ int init_master_info(MASTER_INFO* mi) ...@@ -348,7 +348,7 @@ int init_master_info(MASTER_INFO* mi)
// keep other threads from reading bogus info // keep other threads from reading bogus info
pthread_mutex_lock(&mi->lock); pthread_mutex_lock(&mi->lock);
mi->pending = 0;
if(!my_stat(fname, &stat_area, MYF(0))) // we do not want any messages if(!my_stat(fname, &stat_area, MYF(0))) // we do not want any messages
// if the file does not exist // if the file does not exist
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment