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
429675f4
Commit
429675f4
authored
Dec 12, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edited fix for #1224.
strcpy changed to strmake libmysqld/lib_sql.cc: strcpy to strmake
parent
86f62a54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+1
-1
No files found.
libmysqld/lib_sql.cc
View file @
429675f4
...
...
@@ -224,7 +224,7 @@ static bool check_user(THD *thd,enum_server_command command, const char *user,
send_error
(
net
,
ER_OUT_OF_RESOURCES
);
return
1
;
}
str
cpy
(
thd
->
priv_host
,
LOCAL_HOST
);
str
make
(
thd
->
priv_host
,
LOCAL_HOST
,
sizeof
(
thd
->
priv_host
)
-
1
);
thd
->
master_access
=
acl_getroot
(
thd
,
thd
->
host
,
thd
->
ip
,
thd
->
user
,
passwd
,
thd
->
scramble
,
&
thd
->
priv_user
,
thd
->
priv_host
,
...
...
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