Commit 1ebec103 authored by Sergei Golubchik's avatar Sergei Golubchik

InnoDB: fix compilation with -DDBUG_OFF

parent 21d157ab
...@@ -2448,10 +2448,8 @@ row_ins_index_entry_big_rec( ...@@ -2448,10 +2448,8 @@ row_ins_index_entry_big_rec(
const big_rec_t* big_rec, const big_rec_t* big_rec,
ulint* offsets, ulint* offsets,
mem_heap_t** heap, mem_heap_t** heap,
#ifndef DBUG_OFF dict_index_t* index,
const void* thd, const void* thd __attribute__((unused)))
#endif /* DBUG_OFF */
dict_index_t* index)
{ {
mtr_t mtr; mtr_t mtr;
btr_pcur_t pcur; btr_pcur_t pcur;
...@@ -2492,14 +2490,6 @@ row_ins_index_entry_big_rec( ...@@ -2492,14 +2490,6 @@ row_ins_index_entry_big_rec(
return(error); return(error);
} }
#ifdef DBUG_OFF
# define row_ins_index_entry_big_rec(e,big,ofs,heap,index,thd) \
row_ins_index_entry_big_rec(e,big,ofs,heap,index)
#else /* DBUG_OFF */
# define row_ins_index_entry_big_rec(e,big,ofs,heap,index,thd) \
row_ins_index_entry_big_rec(e,big,ofs,heap,thd,index)
#endif /* DBUG_OFF */
/***************************************************************//** /***************************************************************//**
Tries to insert an entry into a clustered index, ignoring foreign key Tries to insert an entry into a clustered index, ignoring foreign key
constraints. If a record with the same unique key is found, the other constraints. If a record with the same unique key is found, the other
......
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