summaryrefslogtreecommitdiff
path: root/storage/innobase/row/row0ins.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/row/row0ins.cc')
-rw-r--r--storage/innobase/row/row0ins.cc14
1 files changed, 2 insertions, 12 deletions
diff --git a/storage/innobase/row/row0ins.cc b/storage/innobase/row/row0ins.cc
index 7ab0f8eca37..cfc7c20b8cb 100644
--- a/storage/innobase/row/row0ins.cc
+++ b/storage/innobase/row/row0ins.cc
@@ -2490,10 +2490,8 @@ row_ins_index_entry_big_rec(
const big_rec_t* big_rec,
ulint* offsets,
mem_heap_t** heap,
-#ifndef DBUG_OFF
- const void* thd,
-#endif /* DBUG_OFF */
- dict_index_t* index)
+ dict_index_t* index,
+ const void* thd __attribute__((unused)))
{
mtr_t mtr;
btr_pcur_t pcur;
@@ -2534,14 +2532,6 @@ row_ins_index_entry_big_rec(
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
constraints. If a record with the same unique key is found, the other