421
421
id = mach_read_from_6(data);
422
fprintf(stderr, "%llu", (ullint) id);
422
fprintf(stderr, "{%lu %lu}",
423
ut_dulint_get_high(id),
424
ut_dulint_get_low(id));
426
428
id = mach_read_from_7(data);
427
fprintf(stderr, "%llu", (ullint) id);
429
fprintf(stderr, "{%lu %lu}",
430
ut_dulint_get_high(id),
431
ut_dulint_get_low(id));
430
434
id = mach_read_from_8(data);
431
fprintf(stderr, "%llu", (ullint) id);
435
fprintf(stderr, "{%lu %lu}",
436
ut_dulint_get_high(id),
437
ut_dulint_get_low(id));
440
446
case DATA_TRX_ID:
441
447
id = mach_read_from_6(data);
443
fprintf(stderr, "trx_id " TRX_ID_FMT, id);
449
fprintf(stderr, "trx_id " TRX_ID_FMT,
450
TRX_ID_PREP_PRINTF(id));
446
453
case DATA_ROLL_PTR:
447
454
id = mach_read_from_7(data);
449
fprintf(stderr, "roll_ptr " TRX_ID_FMT, id);
456
fprintf(stderr, "roll_ptr {%lu %lu}",
457
ut_dulint_get_high(id), ut_dulint_get_low(id));
452
460
case DATA_ROW_ID:
453
461
id = mach_read_from_6(data);
455
fprintf(stderr, "row_id " TRX_ID_FMT, id);
463
fprintf(stderr, "row_id {%lu %lu}",
464
ut_dulint_get_high(id), ut_dulint_get_low(id));
459
id = mach_ull_read_compressed(data);
468
id = mach_dulint_read_compressed(data);
461
fprintf(stderr, "mix_id " TRX_ID_FMT, id);
470
fprintf(stderr, "mix_id {%lu %lu}",
471
ut_dulint_get_high(id), ut_dulint_get_low(id));
661
/* In DYNAMIC and COMPRESSED format, store
662
locally any non-BLOB columns whose maximum
663
length does not exceed 256 bytes. This is
664
because there is no room for the "external
665
storage" flag when the maximum length is 255
666
bytes or less. This restriction trivially
667
holds in REDUNDANT and COMPACT format, because
668
there we always store locally columns whose
669
length is up to local_len == 788 bytes.
670
@see rec_init_offsets_comp_ordinary */
671
if (ifield->col->mtype != DATA_BLOB
672
&& ifield->col->len < 256) {
676
/* In DYNAMIC and COMPRESSED format, store
677
locally any non-BLOB columns whose maximum
678
length does not exceed 256 bytes. This is
679
because there is no room for the "external
680
storage" flag when the maximum length is 255
681
bytes or less. This restriction trivially
682
holds in REDUNDANT and COMPACT format, because
683
there we always store locally columns whose
684
length is up to local_len == 788 bytes.
685
@see rec_init_offsets_comp_ordinary */
686
if (ifield->col->mtype != DATA_BLOB
687
&& ifield->col->len < 256) {
691
/* In DYNAMIC and COMPRESSED format, store
692
locally any non-BLOB columns whose maximum
693
length does not exceed 256 bytes. This is
694
because there is no room for the "external
695
storage" flag when the maximum length is 255
696
bytes or less. This restriction trivially
697
holds in REDUNDANT and COMPACT format, because
698
there we always store locally columns whose
699
length is up to local_len == 788 bytes.
700
@see rec_init_offsets_comp_ordinary */
701
if (ifield->col->mtype != DATA_BLOB
702
&& ifield->col->len < 256) {
707
672
longest = savings;