Skip to content

Commit c58e502

Browse files
committed
Remove an unused function
rec_offs_nth_extern_old() was introduced in commit a4948da and never used.
1 parent ac8c7a1 commit c58e502

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

storage/innobase/include/rem0rec.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -642,17 +642,6 @@ rec_offs_any_null_extern(
642642
const ulint* offsets) /*!< in: rec_get_offsets(rec) */
643643
MY_ATTRIBUTE((warn_unused_result));
644644

645-
/******************************************************//**
646-
Returns nonzero if the extern bit is set in nth field of rec.
647-
@return nonzero if externally stored */
648-
UNIV_INLINE
649-
ulint
650-
rec_offs_nth_extern_old(
651-
/*================*/
652-
const rec_t* rec, /*!< in: record */
653-
ulint n /*!< in: index of the field */)
654-
MY_ATTRIBUTE((warn_unused_result));
655-
656645
/** Mark the nth field as externally stored.
657646
@param[in] offsets array returned by rec_get_offsets()
658647
@param[in] n nth field */

storage/innobase/include/rem0rec.ic

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -955,21 +955,6 @@ rec_offs_any_null_extern(
955955
return(NULL);
956956
}
957957

958-
/******************************************************//**
959-
Returns nonzero if the extern bit is set in nth field of rec.
960-
@return nonzero if externally stored */
961-
UNIV_INLINE
962-
ulint
963-
rec_offs_nth_extern_old(
964-
/*================*/
965-
const rec_t* rec, /*!< in: record */
966-
ulint n /*!< in: index of the field */)
967-
{
968-
if(rec_get_1byte_offs_flag(rec))
969-
return 0;
970-
return (rec_2_get_field_end_info(rec,n) & REC_2BYTE_EXTERN_MASK);
971-
}
972-
973958
/******************************************************//**
974959
Gets the physical size of a field.
975960
@return length of field */

0 commit comments

Comments
 (0)