Skip to content
Permalink
Browse files
Remove an unused function
rec_offs_nth_extern_old() was introduced in
commit a4948da
and never used.
  • Loading branch information
dr-m committed Sep 30, 2018
1 parent ac8c7a1 commit c58e502
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
@@ -642,17 +642,6 @@ rec_offs_any_null_extern(
const ulint* offsets) /*!< in: rec_get_offsets(rec) */
MY_ATTRIBUTE((warn_unused_result));

/******************************************************//**
Returns nonzero if the extern bit is set in nth field of rec.
@return nonzero if externally stored */
UNIV_INLINE
ulint
rec_offs_nth_extern_old(
/*================*/
const rec_t* rec, /*!< in: record */
ulint n /*!< in: index of the field */)
MY_ATTRIBUTE((warn_unused_result));

/** Mark the nth field as externally stored.
@param[in] offsets array returned by rec_get_offsets()
@param[in] n nth field */
@@ -955,21 +955,6 @@ rec_offs_any_null_extern(
return(NULL);
}

/******************************************************//**
Returns nonzero if the extern bit is set in nth field of rec.
@return nonzero if externally stored */
UNIV_INLINE
ulint
rec_offs_nth_extern_old(
/*================*/
const rec_t* rec, /*!< in: record */
ulint n /*!< in: index of the field */)
{
if(rec_get_1byte_offs_flag(rec))
return 0;
return (rec_2_get_field_end_info(rec,n) & REC_2BYTE_EXTERN_MASK);
}

/******************************************************//**
Gets the physical size of a field.
@return length of field */

0 comments on commit c58e502

Please sign in to comment.