Commit 532fffb4 authored by Marko Mäkelä's avatar Marko Mäkelä

Fix the non-debug build

parent c6b8b05b
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment