Commit c676de16 authored by Marko Mäkelä's avatar Marko Mäkelä

Fix the non-debug build

parent 28636a92
...@@ -879,11 +879,11 @@ dict_table_get_sys_col( ...@@ -879,11 +879,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 */
/********************************************************************//** /********************************************************************//**
Gets the given system column number of a table. Gets the given system column number of a table.
......
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