summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2006-08-22 08:31:18 +0200
committermsvensson@neptunus.(none) <>2006-08-22 08:31:18 +0200
commit1682c8b4633734b00b7e3a2519611fecaa22e8e4 (patch)
tree2714df3dbb0ef7b19e2d5c260119a4f0547f9920 /tests
parentaa944afbe7497d6b991355326732c05ebe546607 (diff)
parent39a8fe6e4490f77a731c33f80cfd2e307d9bb028 (diff)
downloadmariadb-git-1682c8b4633734b00b7e3a2519611fecaa22e8e4.tar.gz
Merge bk-internal:/home/bk/mysql-5.0-maint
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
Diffstat (limited to 'tests')
-rw-r--r--tests/mysql_client_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index f8c091e37f7..3aeccb3bb61 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -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) {
@@ -14995,7 +14995,7 @@ static void test_bug17667()
}
if (log_file != NULL)
- fclose(log_file);
+ my_fclose(log_file, MYF(0));
}