diff options
author | Marko Mäkelä <marko.makela@oracle.com> | 2015-05-26 10:01:12 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2017-03-17 12:48:50 +0200 |
commit | 97acc4a1c37974cb2a1e3d6d163e107cb038a7a6 (patch) | |
tree | e8f0732924a8a1127334cc9c9e9813088413eb45 /storage/innobase/include/row0ins.h | |
parent | 4e1116b2c6e1b6e0714fb2ed742842f1ee6bfab5 (diff) | |
download | mariadb-git-97acc4a1c37974cb2a1e3d6d163e107cb038a7a6.tar.gz |
MDEV-12270 Port MySQL 8.0 Bug#21141390 REMOVE UNUSED FUNCTIONS AND CONVERT GLOBAL SYMBOLS TO STATIC
InnoDB defines some functions that are not called at all.
Other functions are called, but only from the same compilation unit.
Remove some function declarations and definitions, and add 'static'
keywords. Some symbols must be kept for separately compiled tools,
such as innochecksum.
Diffstat (limited to 'storage/innobase/include/row0ins.h')
-rw-r--r-- | storage/innobase/include/row0ins.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/storage/innobase/include/row0ins.h b/storage/innobase/include/row0ins.h index 423acb7dfeb..8cb3a2f16cd 100644 --- a/storage/innobase/include/row0ins.h +++ b/storage/innobase/include/row0ins.h @@ -139,31 +139,6 @@ row_ins_index_entry_set_vals( const dtuple_t* row); /***************************************************************//** -Tries to insert the externally stored fields (off-page columns) -of a clustered index entry. -@return DB_SUCCESS or DB_OUT_OF_FILE_SPACE */ -dberr_t -row_ins_index_entry_big_rec_func( -/*=============================*/ - const dtuple_t* entry, /*!< in/out: index entry to insert */ - const big_rec_t* big_rec,/*!< in: externally stored fields */ - ulint* offsets,/*!< in/out: rec offsets */ - mem_heap_t** heap, /*!< in/out: memory heap */ - dict_index_t* index, /*!< in: index */ - const char* file, /*!< in: file name of caller */ -#ifndef DBUG_OFF - const void* thd, /*!< in: connection, or NULL */ -#endif /* DBUG_OFF */ - unsigned line) /*!< in: line number of caller */ - MY_ATTRIBUTE((nonnull(1,2,3,4,5,6), warn_unused_result)); -#ifdef DBUG_OFF -# define row_ins_index_entry_big_rec(e,big,ofs,heap,index,thd,file,line) \ - row_ins_index_entry_big_rec_func(e,big,ofs,heap,index,file,line) -#else /* DBUG_OFF */ -# define row_ins_index_entry_big_rec(e,big,ofs,heap,index,thd,file,line) \ - row_ins_index_entry_big_rec_func(e,big,ofs,heap,index,file,thd,line) -#endif /* DBUG_OFF */ -/***************************************************************//** Inserts an entry into a clustered index. Tries first optimistic, then pessimistic descent down the tree. If the entry matches enough to a delete marked record, performs the insert by updating or delete |