Commit c016a86f authored by jan's avatar jan

Remove trailing whitespaces and fix style on function comments.

parent d98d98e2
...@@ -25,9 +25,11 @@ read_view_t* ...@@ -25,9 +25,11 @@ read_view_t*
read_view_open_now( read_view_open_now(
/*===============*/ /*===============*/
/* out, own: read view struct */ /* out, own: read view struct */
dulint cr_trx_id,/* in: trx_id of creating transaction, dulint cr_trx_id, /* in: trx_id of creating
or (0, 0) used in purge */ transaction, or (0, 0) used in
mem_heap_t* heap); /* in: memory heap from which allocated */ 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 Makes a copy of the oldest existing read view, or opens a new. The view
must be closed with ..._close. */ must be closed with ..._close. */
...@@ -36,9 +38,11 @@ read_view_t* ...@@ -36,9 +38,11 @@ read_view_t*
read_view_oldest_copy_or_open_new( read_view_oldest_copy_or_open_new(
/*==============================*/ /*==============================*/
/* out, own: read view struct */ /* out, own: read view struct */
dulint cr_trx_id,/* in: trx_id of creating transaction, dulint cr_trx_id, /* in: trx_id of creating
or (0, 0) used in purge */ transaction, or (0, 0) used in
mem_heap_t* heap); /* in: memory heap from which allocated */ purge */
mem_heap_t* heap); /* in: memory heap from which
allocated */
/************************************************************************* /*************************************************************************
Closes a read view. */ Closes a read view. */
...@@ -62,7 +66,7 @@ read_view_sees_trx_id( ...@@ -62,7 +66,7 @@ read_view_sees_trx_id(
/*==================*/ /*==================*/
/* out: TRUE if sees */ /* out: TRUE if sees */
read_view_t* view, /* in: read view */ 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. */ Prints a read view to stderr. */
......
...@@ -150,9 +150,10 @@ read_view_t* ...@@ -150,9 +150,10 @@ read_view_t*
read_view_oldest_copy_or_open_new( read_view_oldest_copy_or_open_new(
/*==============================*/ /*==============================*/
/* out, own: read view struct */ /* out, own: read view struct */
dulint cr_trx_id,/* in: trx_id of creating transaction, or dulint cr_trx_id, /* in: trx_id of creating
(0, 0) used in purge*/ transaction, or (0, 0) used in purge*/
mem_heap_t* heap) /* in: memory heap from which allocated */ mem_heap_t* heap) /* in: memory heap from which
allocated */
{ {
read_view_t* old_view; read_view_t* old_view;
read_view_t* view_copy; read_view_t* view_copy;
...@@ -234,9 +235,11 @@ read_view_t* ...@@ -234,9 +235,11 @@ read_view_t*
read_view_open_now( read_view_open_now(
/*===============*/ /*===============*/
/* out, own: read view struct */ /* out, own: read view struct */
dulint cr_trx_id,/* in: trx_id of creating transaction, dulint cr_trx_id, /* in: trx_id of creating
or (0, 0) used in purge */ transaction, or (0, 0) used in
mem_heap_t* heap) /* in: memory heap from which allocated */ purge */
mem_heap_t* heap) /* in: memory heap from which
allocated */
{ {
read_view_t* view; read_view_t* view;
trx_t* trx; trx_t* trx;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment