Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
39a8fe6e
Commit
39a8fe6e
authored
Aug 21, 2006
by
iggy@rolltop.ignatz42.dyndns.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#21757: mysql_client_test fails in testcase when reading master.log file
parent
adaa3a2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/mysql_client_test.c
tests/mysql_client_test.c
+2
-2
No files found.
tests/mysql_client_test.c
View file @
39a8fe6e
...
@@ -14950,7 +14950,7 @@ static void test_bug17667()
...
@@ -14950,7 +14950,7 @@ static void test_bug17667()
strcpy
(
master_log_filename
,
opt_vardir
);
strcpy
(
master_log_filename
,
opt_vardir
);
strcat
(
master_log_filename
,
"/log/master.log"
);
strcat
(
master_log_filename
,
"/log/master.log"
);
printf
(
"Opening '%s'
\n
"
,
master_log_filename
);
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
);
free
(
master_log_filename
);
if
(
log_file
!=
NULL
)
{
if
(
log_file
!=
NULL
)
{
...
@@ -14997,7 +14997,7 @@ static void test_bug17667()
...
@@ -14997,7 +14997,7 @@ static void test_bug17667()
}
}
if
(
log_file
!=
NULL
)
if
(
log_file
!=
NULL
)
fclose
(
log_file
);
my_fclose
(
log_file
,
MYF
(
0
)
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment