summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
authorserg@serg.mylan <>2004-11-28 18:19:01 +0100
committerserg@serg.mylan <>2004-11-28 18:19:01 +0100
commit96729c62bed6d2efcc7081f12bc9eaeb0ed7e476 (patch)
tree304569af7cace94b402f78a4a7af73ac6e4e838a /sql/slave.cc
parent989721d12f6c2a6b724c9010912be4b6d04a1ccb (diff)
parentd58c186759bf264bc57a79882bc724d0485d3796 (diff)
downloadmariadb-git-96729c62bed6d2efcc7081f12bc9eaeb0ed7e476.tar.gz
merged
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 6d5c997bade..b5caf2627a6 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -1820,7 +1820,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);