From 532fffb4cc7fd68b702aed94e01718c9532c119f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Wed, 3 Apr 2019 14:07:18 +0300 Subject: [PATCH] Fix the non-debug build --- storage/innobase/include/dict0dict.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()