mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Bug#21757: mysql_client_test fails in testcase when reading master.log file
This commit is contained in:
parent
adaa3a2a60
commit
39a8fe6e44
1 changed files with 2 additions and 2 deletions
|
@ -14950,7 +14950,7 @@ static void test_bug17667()
|
|||
strcpy(master_log_filename, opt_vardir);
|
||||
strcat(master_log_filename, "/log/master.log");
|
||||
printf("Opening '%s'\n", master_log_filename);
|
||||
log_file= fopen(master_log_filename, "r");
|
||||
log_file= my_fopen(master_log_filename, (int) (O_RDONLY | O_BINARY), MYF(MY_WME));
|
||||
free(master_log_filename);
|
||||
|
||||
if (log_file != NULL) {
|
||||
|
@ -14997,7 +14997,7 @@ static void test_bug17667()
|
|||
}
|
||||
|
||||
if (log_file != NULL)
|
||||
fclose(log_file);
|
||||
my_fclose(log_file, MYF(0));
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue