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
1d6c06af
Commit
1d6c06af
authored
Jul 29, 2002
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed wrong usage of return value of sprintf() (From prev change set)
parent
572891bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sql/ha_innobase.cc
sql/ha_innobase.cc
+3
-3
No files found.
sql/ha_innobase.cc
View file @
1d6c06af
...
@@ -276,9 +276,9 @@ innobase_mysql_print_thd(
...
@@ -276,9 +276,9 @@ innobase_mysql_print_thd(
thd
=
(
THD
*
)
input_thd
;
thd
=
(
THD
*
)
input_thd
;
/* We can't use value of sprintf() as this is not portable */
/* We can't use value of sprintf() as this is not portable */
buf
=
my_sprintf
(
buf
,
buf
+=
my_sprintf
(
buf
,
(
buf
,
"MySQL thread id %lu, query id %lu"
,
(
buf
,
"MySQL thread id %lu, query id %lu"
,
thd
->
thread_id
,
thd
->
query_id
));
thd
->
thread_id
,
thd
->
query_id
));
if
(
thd
->
host
)
if
(
thd
->
host
)
{
{
*
buf
++=
' '
;
*
buf
++=
' '
;
...
...
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