summaryrefslogtreecommitdiff
path: root/innobase/trx/trx0roll.c
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/trx/trx0roll.c')
-rw-r--r--innobase/trx/trx0roll.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/innobase/trx/trx0roll.c b/innobase/trx/trx0roll.c
index db5e16c7778..105fa97080f 100644
--- a/innobase/trx/trx0roll.c
+++ b/innobase/trx/trx0roll.c
@@ -335,8 +335,10 @@ undo log. If the transaction was not yet committed, then we roll it back.
Note: this is done in a background thread */
void *
-trx_rollback_or_clean_all_without_sess(void *i)
-/*========================================*/
+trx_rollback_or_clean_all_without_sess(
+/*===================================*/
+ /* out: arguments */
+ void *i) /* in: arguments (unused) */
{
mem_heap_t* heap;
que_fork_t* fork;
@@ -496,6 +498,7 @@ loop:
goto loop;
os_thread_exit(i); /* not reached */
+ return(i);
}
/***********************************************************************