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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
9e61e636
Commit
9e61e636
authored
Dec 04, 2002
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proper casting in COM_TABLE_DUMP (backported from 4.0)
parent
615c9465
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 @
9e61e636
...
...
@@ -768,8 +768,8 @@ bool do_command(THD *thd)
thread_safe_increment
(
com_other
,
&
LOCK_thread_count
);
slow_command
=
TRUE
;
char
*
data
=
packet
+
1
;
uint
db_len
=
*
data
;
uint
tbl_len
=
*
(
data
+
db_len
+
1
);
uint
db_len
=
*
(
uchar
*
)
data
;
uint
tbl_len
=
*
(
uchar
*
)(
data
+
db_len
+
1
);
char
*
db
=
sql_alloc
(
db_len
+
tbl_len
+
2
);
memcpy
(
db
,
data
+
1
,
db_len
);
char
*
tbl_name
=
db
+
db_len
;
...
...
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