1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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

@ -310,7 +310,7 @@ Unfortunately, no sweepstakes today, adjusted position to 4\n");
static void dump_local_log_entries(const char* logname)
{
File fd;
File fd = -1;
IO_CACHE cache,*file= &cache;
int rec_count = 0;
@ -368,7 +368,8 @@ read error",
rec_count++;
delete ev;
}
my_close(fd, MYF(MY_WME));
if(fd >= 0)
my_close(fd, MYF(MY_WME));
end_io_cache(file);
}