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
c016a86f
Commit
c016a86f
authored
Mar 02, 2006
by
jan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove trailing whitespaces and fix style on function comments.
parent
d98d98e2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
61 deletions
+68
-61
include/read0read.h
include/read0read.h
+14
-10
read/read0read.c
read/read0read.c
+54
-51
No files found.
include/read0read.h
View file @
c016a86f
...
...
@@ -25,9 +25,11 @@ read_view_t*
read_view_open_now
(
/*===============*/
/* out, own: read view struct */
dulint
cr_trx_id
,
/* in: trx_id of creating transaction,
or (0, 0) used in purge */
mem_heap_t
*
heap
);
/* in: memory heap from which allocated */
dulint
cr_trx_id
,
/* in: trx_id of creating
transaction, or (0, 0) used in
purge */
mem_heap_t
*
heap
);
/* in: memory heap from which
allocated */
/*************************************************************************
Makes a copy of the oldest existing read view, or opens a new. The view
must be closed with ..._close. */
...
...
@@ -36,9 +38,11 @@ read_view_t*
read_view_oldest_copy_or_open_new
(
/*==============================*/
/* out, own: read view struct */
dulint
cr_trx_id
,
/* in: trx_id of creating transaction,
or (0, 0) used in purge */
mem_heap_t
*
heap
);
/* in: memory heap from which allocated */
dulint
cr_trx_id
,
/* in: trx_id of creating
transaction, or (0, 0) used in
purge */
mem_heap_t
*
heap
);
/* in: memory heap from which
allocated */
/*************************************************************************
Closes a read view. */
...
...
@@ -62,7 +66,7 @@ read_view_sees_trx_id(
/*==================*/
/* out: TRUE if sees */
read_view_t
*
view
,
/* in: read view */
dulint
trx_id
);
/* in: trx id */
dulint
trx_id
);
/* in: trx id */
/*************************************************************************
Prints a read view to stderr. */
...
...
read/read0read.c
View file @
c016a86f
...
...
@@ -150,9 +150,10 @@ read_view_t*
read_view_oldest_copy_or_open_new
(
/*==============================*/
/* out, own: read view struct */
dulint
cr_trx_id
,
/* in: trx_id of creating transaction, or
(0, 0) used in purge*/
mem_heap_t
*
heap
)
/* in: memory heap from which allocated */
dulint
cr_trx_id
,
/* in: trx_id of creating
transaction, or (0, 0) used in purge*/
mem_heap_t
*
heap
)
/* in: memory heap from which
allocated */
{
read_view_t
*
old_view
;
read_view_t
*
view_copy
;
...
...
@@ -234,9 +235,11 @@ read_view_t*
read_view_open_now
(
/*===============*/
/* out, own: read view struct */
dulint
cr_trx_id
,
/* in: trx_id of creating transaction,
or (0, 0) used in purge */
mem_heap_t
*
heap
)
/* in: memory heap from which allocated */
dulint
cr_trx_id
,
/* in: trx_id of creating
transaction, or (0, 0) used in
purge */
mem_heap_t
*
heap
)
/* in: memory heap from which
allocated */
{
read_view_t
*
view
;
trx_t
*
trx
;
...
...
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