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
422621a4
Commit
422621a4
authored
May 25, 2010
by
Ramil Kalimullin
Browse files
Options
Browse Files
Download
Plain Diff
Automerge.
parents
edfea7d5
5f5e23fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
sql/sql_parse.cc
sql/sql_parse.cc
+2
-0
No files found.
sql/sql_parse.cc
View file @
422621a4
...
@@ -493,6 +493,7 @@ int check_user(THD *thd, enum enum_server_command command,
...
@@ -493,6 +493,7 @@ int check_user(THD *thd, enum enum_server_command command,
}
}
send_ok
(
thd
);
send_ok
(
thd
);
thd
->
password
=
test
(
passwd_len
);
// remember for error messages
thd
->
password
=
test
(
passwd_len
);
// remember for error messages
#ifndef EMBEDDED_LIBRARY
/*
/*
Allow the network layer to skip big packets. Although a malicious
Allow the network layer to skip big packets. Although a malicious
authenticated session might use this to trick the server to read
authenticated session might use this to trick the server to read
...
@@ -500,6 +501,7 @@ int check_user(THD *thd, enum enum_server_command command,
...
@@ -500,6 +501,7 @@ int check_user(THD *thd, enum enum_server_command command,
that needs to be preserved as to not break backwards compatibility.
that needs to be preserved as to not break backwards compatibility.
*/
*/
thd
->
net
.
skip_big_packet
=
TRUE
;
thd
->
net
.
skip_big_packet
=
TRUE
;
#endif
/* Ready to handle queries */
/* Ready to handle queries */
DBUG_RETURN
(
0
);
DBUG_RETURN
(
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