trx0roll.ic
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:1k
- /******************************************************
- Transaction rollback
- (c) 1996 Innobase Oy
- Created 3/26/1996 Heikki Tuuri
- *******************************************************/
- /***********************************************************************
- Returns pointer to nth element in an undo number array. */
- UNIV_INLINE
- trx_undo_inf_t*
- trx_undo_arr_get_nth_info(
- /*======================*/
- /* out: pointer to the nth element */
- trx_undo_arr_t* arr, /* in: undo number array */
- ulint n) /* in: position */
- {
- ut_ad(arr);
- ut_ad(n < arr->n_cells);
- return(arr->infos + n);
- }