Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL)
-
None
Description
/* The data size of record must not be larger than this on
|
REDUNDANT row format because we reserve two upmost bits in a
|
two byte offset for special purposes */
|
#define REDUNDANT_REC_MAX_DATA_SIZE (16383)
|
|
/* The data size of record must be smaller than this on
|
COMPRESSED row format because we reserve two upmost bits in a
|
two byte offset for special purposes */
|
#define COMPRESSED_REC_MAX_DATA_SIZE (16384)
|
|
COMPRESSED_REC_MAX_DATA_SIZE is actually COMPRESED_REC_UPPER_BOUND_DATA_SIZE. Both constants should have the same value to prevent off-by-one error like in this code: https://github.com/MariaDB/server/blob/a51f3b09bb99f2927ce107727316caac2c426eb1/storage/innobase/include/page0zip.ic#L182