summaryrefslogtreecommitdiff
path: root/storage/innobase/include/trx0trx.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2018-03-29 22:38:26 +0400
committerSergey Vojtovich <svoj@mariadb.org>2018-04-04 14:09:37 +0400
commitd6d58836bb1aced62c17b4ec629a15730eec804a (patch)
tree4db10b04034049afc721b8340f68abcb161b68c7 /storage/innobase/include/trx0trx.h
parenta5da1c64f8d96278c8e4408458f7e8d4b6dea415 (diff)
downloadmariadb-git-d6d58836bb1aced62c17b4ec629a15730eec804a.tar.gz
MDEV-15773 - trx_allocate_for_background() -> trx_create()
trx_free_resurrected(): Remove, unused function
Diffstat (limited to 'storage/innobase/include/trx0trx.h')
-rw-r--r--storage/innobase/include/trx0trx.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/storage/innobase/include/trx0trx.h b/storage/innobase/include/trx0trx.h
index d6e66222211..de4f5d54e42 100644
--- a/storage/innobase/include/trx0trx.h
+++ b/storage/innobase/include/trx0trx.h
@@ -88,17 +88,9 @@ Creates a transaction object for MySQL.
trx_t*
trx_allocate_for_mysql(void);
/*========================*/
-/********************************************************************//**
-Creates a transaction object for background operations by the master thread.
-@return own: transaction object */
-trx_t*
-trx_allocate_for_background(void);
-/*=============================*/
-/** Frees and initialize a transaction object instantinated during recovery.
-@param trx trx object to free and initialize during recovery */
-void
-trx_free_resurrected(trx_t* trx);
+/** @return a trx_t instance from trx_pools. */
+trx_t *trx_create();
/** Free a transaction that was allocated by background or user threads.
@param trx trx object to free */