diff --git a/storage/innobase/include/dict0dict.h b/storage/innobase/include/dict0dict.h index c61e035beb4..316a9c620f7 100644 --- a/storage/innobase/include/dict0dict.h +++ b/storage/innobase/include/dict0dict.h @@ -860,11 +860,11 @@ dict_table_get_sys_col( ulint sys) /*!< in: DATA_ROW_ID, ... */ MY_ATTRIBUTE((nonnull, warn_unused_result)); #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) \ &(table)->cols[(table)->n_cols + (sys) - DATA_N_SYS_COLS] /* 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 */ /** Wrapper function. @see dict_col_t::name()