summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-11-26 02:31:22 +0200
committermonty@mysql.com <>2004-11-26 02:31:22 +0200
commiteb304bd49f3228352a328d158db37c61f4cccd93 (patch)
treef3f4600d006f2d2d7d31180814236decb181095f /sql/slave.cc
parentf1e86036eeab7c5fec0faa1fae6cf0bfc1f9ad43 (diff)
downloadmariadb-git-eb304bd49f3228352a328d158db37c61f4cccd93.tar.gz
Fixes while reviewing code
(Cleanups and better bug fixes)
Diffstat (limited to 'sql/slave.cc')
-rw-r--r--sql/slave.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc
index 7e544572755..b0f911e7013 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -1637,7 +1637,8 @@ int init_master_info(MASTER_INFO* mi, const char* master_info_fname,
position is at the beginning of the file, and will read the
"signature" and then fast-forward to the last position read.
*/
- if (thread_mask & SLAVE_SQL) {
+ if (thread_mask & SLAVE_SQL)
+ {
my_b_seek(mi->rli.cur_log, (my_off_t) 0);
}
DBUG_RETURN(0);