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
7ba13b16
Commit
7ba13b16
authored
Sep 23, 2005
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#7037 MySQL Bugs: #7037: Test "mysql_protocols" fails on Solaris 8 + 9 /x86
parent
523d2aad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
mysys/my_init.c
mysys/my_init.c
+14
-6
No files found.
mysys/my_init.c
View file @
7ba13b16
...
...
@@ -127,11 +127,18 @@ my_bool my_init(void)
void
my_end
(
int
infoflag
)
{
FILE
*
info_file
;
if
(
!
(
info_file
=
DBUG_FILE
))
info_file
=
stderr
;
DBUG_PRINT
(
"info"
,(
"Shutting down"
));
if
(
infoflag
&
MY_CHECK_ERROR
||
info_file
!=
stderr
)
DBUG_ENTER
(
"my_end"
);
FILE
*
info_file
=
DBUG_FILE
;
bool
print_info
=
(
info_file
!=
stderr
);
if
(
!
info_file
)
{
info_file
=
stderr
;
print_info
=
0
;
}
DBUG_PRINT
(
"info"
,(
"Shutting down: print_info: %d"
,
print_info
));
if
((
infoflag
&
MY_CHECK_ERROR
)
||
print_info
)
{
/* Test if some file is left open */
if
(
my_file_opened
|
my_stream_opened
)
{
...
...
@@ -141,7 +148,8 @@ void my_end(int infoflag)
}
}
my_once_free
();
if
(
infoflag
&
MY_GIVE_INFO
||
info_file
!=
stderr
)
if
((
infoflag
&
MY_GIVE_INFO
)
||
print_info
)
{
#ifdef HAVE_GETRUSAGE
struct
rusage
rus
;
...
...
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