Fix the non-debug build
This commit is contained in:
parent
c6b8b05be4
commit
532fffb4cc
@ -860,11 +860,11 @@ dict_table_get_sys_col(
|
|||||||
ulint sys) /*!< in: DATA_ROW_ID, ... */
|
ulint sys) /*!< in: DATA_ROW_ID, ... */
|
||||||
MY_ATTRIBUTE((nonnull, warn_unused_result));
|
MY_ATTRIBUTE((nonnull, warn_unused_result));
|
||||||
#else /* UNIV_DEBUG */
|
#else /* UNIV_DEBUG */
|
||||||
#define dict_table_get_nth_col(table, pos) &(table)->cols[pos]
|
#define dict_table_get_nth_col(table, pos) (&(table)->cols[pos])
|
||||||
#define dict_table_get_sys_col(table, sys) \
|
#define dict_table_get_sys_col(table, sys) \
|
||||||
&(table)->cols[(table)->n_cols + (sys) - DATA_N_SYS_COLS]
|
&(table)->cols[(table)->n_cols + (sys) - DATA_N_SYS_COLS]
|
||||||
/* Get nth virtual columns */
|
/* Get nth virtual columns */
|
||||||
#define dict_table_get_nth_v_col(table, pos) &(table)->v_cols[pos]
|
#define dict_table_get_nth_v_col(table, pos) (&(table)->v_cols[pos])
|
||||||
#endif /* UNIV_DEBUG */
|
#endif /* UNIV_DEBUG */
|
||||||
/** Wrapper function.
|
/** Wrapper function.
|
||||||
@see dict_col_t::name()
|
@see dict_col_t::name()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user