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
4496fd71
Commit
4496fd71
authored
Jan 04, 2018
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a truncation warning introduced in MDEV-12323
parent
8ac1982f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
storage/innobase/trx/trx0roll.cc
storage/innobase/trx/trx0roll.cc
+4
-3
storage/xtradb/trx/trx0roll.cc
storage/xtradb/trx/trx0roll.cc
+4
-3
No files found.
storage/innobase/trx/trx0roll.cc
View file @
4496fd71
/*****************************************************************************
Copyright (c) 1996, 2017, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2016, 201
7
, MariaDB Corporation.
Copyright (c) 2016, 201
8
, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
...
...
@@ -735,7 +735,8 @@ trx_roll_must_shutdown()
mutex_enter
(
&
recv_sys
->
mutex
);
if
(
recv_sys
->
report
(
time
))
{
ulint
n_trx
=
0
,
n_rows
=
0
;
ulint
n_trx
=
0
;
ulonglong
n_rows
=
0
;
for
(
const
trx_t
*
t
=
UT_LIST_GET_FIRST
(
trx_sys
->
rw_trx_list
);
t
!=
NULL
;
t
=
UT_LIST_GET_NEXT
(
trx_list
,
t
))
{
...
...
@@ -749,7 +750,7 @@ trx_roll_must_shutdown()
}
ib_logf
(
IB_LOG_LEVEL_INFO
,
"To roll back: "
ULINTPF
" transactions, "
ULINTPF
"
rows"
,
n_trx
,
n_rows
);
"%llu
rows"
,
n_trx
,
n_rows
);
}
mutex_exit
(
&
recv_sys
->
mutex
);
...
...
storage/xtradb/trx/trx0roll.cc
View file @
4496fd71
/*****************************************************************************
Copyright (c) 1996, 2017, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2016, 201
7
, MariaDB Corporation.
Copyright (c) 2016, 201
8
, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
...
...
@@ -735,7 +735,8 @@ trx_roll_must_shutdown()
mutex_enter
(
&
recv_sys
->
mutex
);
if
(
recv_sys
->
report
(
time
))
{
ulint
n_trx
=
0
,
n_rows
=
0
;
ulint
n_trx
=
0
;
ulonglong
n_rows
=
0
;
for
(
const
trx_t
*
t
=
UT_LIST_GET_FIRST
(
trx_sys
->
rw_trx_list
);
t
!=
NULL
;
t
=
UT_LIST_GET_NEXT
(
trx_list
,
t
))
{
...
...
@@ -749,7 +750,7 @@ trx_roll_must_shutdown()
}
ib_logf
(
IB_LOG_LEVEL_INFO
,
"To roll back: "
ULINTPF
" transactions, "
ULINTPF
"
rows"
,
n_trx
,
n_rows
);
"%llu
rows"
,
n_trx
,
n_rows
);
}
mutex_exit
(
&
recv_sys
->
mutex
);
...
...
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