Detect and halt changes to Field::make_sort_key methods

Description

MyRocks binary format of keys on disk is based on the result data from sql/field.* Field::make_sort_key methods for different data types. Any change to the returned result of these methods will cause existing MyRocks data to become unreadable. We will need to catch any code changes that come in either from upstream merges or from our own changes that might alter this format.

If possible this should be automated in mtr or some other type of deterministic testing method.

Environment

None

Smart Checklist

Activity

Show:
Duplicate

Details

Assignee

Reporter

Labels

Components

Priority

Smart Checklist

Created March 20, 2017 at 10:39 PM
Updated March 6, 2024 at 1:23 PM
Resolved March 26, 2019 at 11:05 PM