summaryrefslogtreecommitdiff
path: root/storage/innobase/data
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/data')
-rw-r--r--storage/innobase/data/data0data.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/storage/innobase/data/data0data.cc b/storage/innobase/data/data0data.cc
index fbdb409dbc5..6601edfec9d 100644
--- a/storage/innobase/data/data0data.cc
+++ b/storage/innobase/data/data0data.cc
@@ -861,17 +861,3 @@ dfield_t::clone(mem_heap_t* heap) const
return(obj);
}
-
-/** Assuming field is sys_trx_end checks whether its value is not SYS_TRX_MAX.
-@param dfield field to check
-@return true for historical rows and false otherwise*/
-bool
-dfield_is_historical_sys_trx_end(const dfield_t* dfield)
-{
- static const trx_id_t MAX = TRX_ID_MAX;
- ut_ad(dfield);
- ut_ad(dfield->type.prtype & DATA_VERS_END);
- const byte* data = static_cast<const byte*>(dfield_get_data(dfield));
- ut_ad(dfield_get_len(dfield) == 8);
- return(memcmp(data, &MAX, 8));
-}