diff options
author | unknown <sasha@mysql.sashanet.com> | 2000-11-16 17:48:13 -0700 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2000-11-16 17:48:13 -0700 |
commit | 6e8c7df035f12f12f276837838dfbff25d4bb2a6 (patch) | |
tree | cd285c3f07b15bfe5524a733276fe9b7894f0550 /sql/sql_repl.cc | |
parent | 113fb0ffaa802ebb0550d3f5829d18eea916cf10 (diff) | |
download | mariadb-git-6e8c7df035f12f12f276837838dfbff25d4bb2a6.tar.gz |
sql/log.cc
fixed bug in find_first_log
sql/mysqlbinlog.cc
flose file only if we opened it
sql/slave.cc
changed spacing
sql/sql_repl.cc
fixed error message
sql/log.cc:
fixed bug in find_first_log
sql/mysqlbinlog.cc:
flose file only if we opened it
sql/slave.cc:
changed spacing
sql/sql_repl.cc:
fixed error message
BitKeeper/etc/ignore:
Added repl-tests/test-repl/foo-dump-slave.master. repl-tests/test-repl/sum-wlen-slave.master. repl-tests/test-repl/sum-wlen-slave.master.re to the ignore list
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r-- | sql/sql_repl.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc index ba155c72e49..866663eab66 100644 --- a/sql/sql_repl.cc +++ b/sql/sql_repl.cc @@ -256,7 +256,7 @@ void mysql_binlog_send(THD* thd, char* log_ident, ulong pos, ushort flags) if(pos < 4) { - errmsg = "Contratulations! You have hit the magic number and can win \ + errmsg = "Congratulations! You have hit the magic number and can win \ sweepstakes if you report the bug"; goto err; } @@ -291,6 +291,8 @@ sweepstakes if you report the bug"; packet->length(0); packet->append("\0",1); } + + if(error != LOG_READ_EOF) { switch(error) |