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
fc520129
Commit
fc520129
authored
Mar 28, 2012
by
Sunny Bains
Browse files
Options
Browse Files
Download
Plain Diff
Merge from mysql-5.1.
parents
1f9561d2
899e600b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
storage/innobase/include/trx0purge.h
storage/innobase/include/trx0purge.h
+2
-2
storage/innobase/trx/trx0purge.c
storage/innobase/trx/trx0purge.c
+1
-1
No files found.
storage/innobase/include/trx0purge.h
View file @
fc520129
...
...
@@ -143,9 +143,9 @@ struct trx_purge_struct{
obtaining an s-latch here. */
read_view_t
*
view
;
/*!< The purge will not remove undo logs
which are >= this view (purge view) */
ul
int
n_pages_handled
;
/*!< Approximate number of undo log
ul
onglong
n_pages_handled
;
/*!< Approximate number of undo log
pages processed in purge */
ul
int
handle_limit
;
/*!< Target of how many pages to get
ul
onglong
handle_limit
;
/*!< Target of how many pages to get
processed in the current purge */
/*------------------------------*/
/* The following two fields form the 'purge pointer' which advances
...
...
storage/innobase/trx/trx0purge.c
View file @
fc520129
...
...
@@ -1202,7 +1202,7 @@ trx_purge(
(
ulong
)
purge_sys
->
n_pages_handled
);
}
return
(
purge_sys
->
n_pages_handled
-
old_pages_handled
);
return
(
(
ulint
)
(
purge_sys
->
n_pages_handled
-
old_pages_handled
)
);
}
/******************************************************************//**
...
...
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