Skip to content

Commit 7781924

Browse files
committed
MDEV-17823: Fix the non-debug build
1 parent 4e75bfc commit 7781924

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

storage/innobase/row/row0sel.cc

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2908,15 +2908,6 @@ row_sel_field_store_in_mysql_format_func(
29082908
}
29092909
}
29102910

2911-
#ifdef UNIV_DEBUG
2912-
/** Convert a field from Innobase format to MySQL format. */
2913-
# define row_sel_store_mysql_field(m,p,r,i,o,f,t) \
2914-
row_sel_store_mysql_field_func(m,p,r,i,o,f,t)
2915-
#else /* UNIV_DEBUG */
2916-
/** Convert a field from Innobase format to MySQL format. */
2917-
# define row_sel_store_mysql_field(m,p,r,i,o,f,t) \
2918-
row_sel_store_mysql_field_func(m,p,r,o,f,t)
2919-
#endif /* UNIV_DEBUG */
29202911
/** Convert a field in the Innobase format to a field in the MySQL format.
29212912
@param[out] mysql_rec record in the MySQL format
29222913
@param[in,out] prebuilt prebuilt struct
@@ -2931,13 +2922,11 @@ row_sel_field_store_in_mysql_format_func(
29312922
*/
29322923
static MY_ATTRIBUTE((warn_unused_result))
29332924
ibool
2934-
row_sel_store_mysql_field_func(
2925+
row_sel_store_mysql_field(
29352926
byte* mysql_rec,
29362927
row_prebuilt_t* prebuilt,
29372928
const rec_t* rec,
2938-
#ifdef UNIV_DEBUG
29392929
const dict_index_t* index,
2940-
#endif
29412930
const ulint* offsets,
29422931
ulint field_no,
29432932
const mysql_row_templ_t*templ)

0 commit comments

Comments
 (0)