diff options
author | tnurnberg@white.intern.koehntopp.de <> | 2007-11-26 09:19:30 +0100 |
---|---|---|
committer | tnurnberg@white.intern.koehntopp.de <> | 2007-11-26 09:19:30 +0100 |
commit | 72cd3636652a562a7d702fa1282e225da610bba6 (patch) | |
tree | 04b3a63eff036ac7a73739d3a0f05402d87deecd /sql/repl_failsafe.cc | |
parent | f1f9e2313bcd142ee724e037bde4b817b0b8fb17 (diff) | |
parent | 883338a9498d6a02cdb6de102abad58f9f49575a (diff) | |
download | mariadb-git-72cd3636652a562a7d702fa1282e225da610bba6.tar.gz |
Merge mysql.com:/misc/mysql/31752_/50-31752_
into mysql.com:/misc/mysql/31752_/51-31752_
Diffstat (limited to 'sql/repl_failsafe.cc')
-rw-r--r-- | sql/repl_failsafe.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc index 834d87532af..453c26725d2 100644 --- a/sql/repl_failsafe.cc +++ b/sql/repl_failsafe.cc @@ -925,7 +925,7 @@ bool load_master_data(THD* thd) 0, (SLAVE_IO | SLAVE_SQL))) my_message(ER_MASTER_INFO, ER(ER_MASTER_INFO), MYF(0)); strmake(active_mi->master_log_name, row[0], - sizeof(active_mi->master_log_name)); + sizeof(active_mi->master_log_name) -1); active_mi->master_log_pos= my_strtoll10(row[1], (char**) 0, &error_2); /* at least in recent versions, the condition below should be false */ if (active_mi->master_log_pos < BIN_LOG_HEADER_SIZE) |