@@ -1836,8 +1836,7 @@ trx_print_low(
18361836
18371837/* *********************************************************************/ /* *
18381838Prints info about a transaction.
1839- The caller must hold lock_sys.latch.
1840- When possible, use trx_print() instead. */
1839+ The caller must hold lock_sys.latch. */
18411840void
18421841trx_print_latched (
18431842/* ==============*/
@@ -1852,27 +1851,6 @@ trx_print_latched(
18521851 mem_heap_get_size (trx->lock .lock_heap ));
18531852}
18541853
1855- /* *********************************************************************/ /* *
1856- Prints info about a transaction.
1857- Acquires and releases lock_sys.latch. */
1858- TRANSACTIONAL_TARGET
1859- void
1860- trx_print (
1861- /* ======*/
1862- FILE * f, /* !< in: output stream */
1863- const trx_t * trx) /* !< in: transaction */
1864- {
1865- ulint n_rec_locks, n_trx_locks, heap_size;
1866- {
1867- TMLockMutexGuard g{SRW_LOCK_CALL };
1868- n_rec_locks= trx->lock .n_rec_locks ;
1869- n_trx_locks= UT_LIST_GET_LEN (trx->lock .trx_locks );
1870- heap_size= mem_heap_get_size (trx->lock .lock_heap );
1871- }
1872-
1873- trx_print_low (f, trx, n_rec_locks, n_trx_locks, heap_size);
1874- }
1875-
18761854/* * Prepare a transaction.
18771855@return log sequence number that makes the XA PREPARE durable
18781856@retval 0 if no changes needed to be made durable */
0 commit comments