1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

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
This commit is contained in:
sasha@mysql.sashanet.com
2000-11-16 17:48:13 -07:00
parent ea0f9d358c
commit be2a121e31
5 changed files with 14 additions and 6 deletions

View File

@ -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)