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
04f93ca0
Commit
04f93ca0
authored
Apr 23, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A post-merge fix.
parent
38c4f0b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
sql/mysqld.cc
sql/mysqld.cc
+2
-1
No files found.
sql/mysqld.cc
View file @
04f93ca0
...
@@ -8071,8 +8071,9 @@ void refresh_status(THD *thd)
...
@@ -8071,8 +8071,9 @@ void refresh_status(THD *thd)
add_to_status
(
&
global_status_var
,
&
thd
->
status_var
);
add_to_status
(
&
global_status_var
,
&
thd
->
status_var
);
bzero
((
char
*
)
&
thd
->
status_var
,
sizeof
(
thd
->
status_var
));
bzero
((
char
*
)
&
thd
->
status_var
,
sizeof
(
thd
->
status_var
));
for
(
struct
show_var_st
*
ptr
=
status_vars
;
ptr
->
name
;
ptr
++
)
for
(
SHOW_VAR
*
ptr
=
status_vars
;
ptr
->
name
;
ptr
++
)
{
{
/* Note that SHOW_LONG_NOFLUSH variables are not reset */
if
(
ptr
->
type
==
SHOW_LONG
)
if
(
ptr
->
type
==
SHOW_LONG
)
*
(
ulong
*
)
ptr
->
value
=
0
;
*
(
ulong
*
)
ptr
->
value
=
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