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
e5b2e9b1
Commit
e5b2e9b1
authored
Mar 23, 2004
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unneeded bzero
parent
ce7798c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
sql/sql_parse.cc
sql/sql_parse.cc
+4
-2
No files found.
sql/sql_parse.cc
View file @
e5b2e9b1
...
@@ -2378,8 +2378,10 @@ mysql_execute_command(THD *thd)
...
@@ -2378,8 +2378,10 @@ mysql_execute_command(THD *thd)
if
(
grant_option
)
if
(
grant_option
)
{
{
TABLE_LIST
old_list
,
new_list
;
TABLE_LIST
old_list
,
new_list
;
bzero
((
char
*
)
&
old_list
,
sizeof
(
old_list
));
/*
bzero
((
char
*
)
&
new_list
,
sizeof
(
new_list
));
// Safety
we do not need initialize old_list and new_list because we will
come table[0] and table->next[0] there
*/
old_list
=
table
[
0
];
old_list
=
table
[
0
];
new_list
=
table
->
next
[
0
];
new_list
=
table
->
next
[
0
];
old_list
.
next
=
new_list
.
next
=
0
;
old_list
.
next
=
new_list
.
next
=
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