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
b9d8e521
Commit
b9d8e521
authored
22 years ago
by
lenz@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge lgrimmer@work.mysql.com:/home/bk/mysql
into mysql.com:/space/my/mysql-3.23
parents
c1109c83
9e61e636
No related merge requests found
Changes
1
Hide 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 @
b9d8e521
...
@@ -768,8 +768,8 @@ bool do_command(THD *thd)
...
@@ -768,8 +768,8 @@ bool do_command(THD *thd)
thread_safe_increment
(
com_other
,
&
LOCK_thread_count
);
thread_safe_increment
(
com_other
,
&
LOCK_thread_count
);
slow_command
=
TRUE
;
slow_command
=
TRUE
;
char
*
data
=
packet
+
1
;
char
*
data
=
packet
+
1
;
uint
db_len
=
*
data
;
uint
db_len
=
*
(
uchar
*
)
data
;
uint
tbl_len
=
*
(
data
+
db_len
+
1
);
uint
tbl_len
=
*
(
uchar
*
)(
data
+
db_len
+
1
);
char
*
db
=
sql_alloc
(
db_len
+
tbl_len
+
2
);
char
*
db
=
sql_alloc
(
db_len
+
tbl_len
+
2
);
memcpy
(
db
,
data
+
1
,
db_len
);
memcpy
(
db
,
data
+
1
,
db_len
);
char
*
tbl_name
=
db
+
db_len
;
char
*
tbl_name
=
db
+
db_len
;
...
...
This diff is collapsed.
Click to expand it.
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