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
ed3f3fa0
Commit
ed3f3fa0
authored
Apr 25, 2006
by
serg@sergbook.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after merge
parent
ab2820e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/sql_parse.cc
sql/sql_parse.cc
+2
-2
No files found.
sql/sql_parse.cc
View file @
ed3f3fa0
...
@@ -1598,13 +1598,13 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
...
@@ -1598,13 +1598,13 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
uint
db_len
=
*
(
uchar
*
)
packet
;
uint
db_len
=
*
(
uchar
*
)
packet
;
if
(
db_len
>=
packet_length
||
db_len
>
NAME_LEN
)
if
(
db_len
>=
packet_length
||
db_len
>
NAME_LEN
)
{
{
send_error
(
thd
,
ER_UNKNOWN_COM_ERROR
);
my_message
(
ER_UNKNOWN_COM_ERROR
,
ER
(
ER_UNKNOWN_COM_ERROR
),
MYF
(
0
)
);
break
;
break
;
}
}
uint
tbl_len
=
*
(
uchar
*
)
(
packet
+
db_len
+
1
);
uint
tbl_len
=
*
(
uchar
*
)
(
packet
+
db_len
+
1
);
if
(
db_len
+
tbl_len
+
2
>
packet_length
||
tbl_len
>
NAME_LEN
)
if
(
db_len
+
tbl_len
+
2
>
packet_length
||
tbl_len
>
NAME_LEN
)
{
{
send_error
(
thd
,
ER_UNKNOWN_COM_ERROR
);
my_message
(
ER_UNKNOWN_COM_ERROR
,
ER
(
ER_UNKNOWN_COM_ERROR
),
MYF
(
0
)
);
break
;
break
;
}
}
...
...
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