408
408
is estimated as the number of altered rows + the number of locked rows.
410
410
@return transaction weight */
414
413
/*******************************************************************//**
415
414
Compares the "weight" (or size) of two transactions. Transactions that
416
415
have edited non-transactional tables are considered heavier than ones
423
422
const trx_t* a, /*!< in: the first transaction to be compared */
424
423
const trx_t* b); /*!< in: the second transaction to be compared */
435
425
/* Maximum length of a string that can be returned by
436
426
trx_get_que_state_str(). */
437
427
#define TRX_QUE_STATE_STR_MAX_LEN 12 /* "ROLLING BACK" */