mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
dict0dict.ic:
Fix a bug in InnoDB code that fortunately was never used: row id is stored in a record always as a 6-byte unsigned integer, in a 'non-compressed' form
This commit is contained in:
parent
6c44563fc5
commit
d7eecc803d
1 changed files with 6 additions and 3 deletions
|
|
@ -342,13 +342,16 @@ dict_index_rec_get_sys_col(
|
|||
ut_ad(len == 7);
|
||||
|
||||
return(trx_read_roll_ptr(field));
|
||||
} else if ((type == DATA_ROW_ID) || (type == DATA_MIX_ID)) {
|
||||
} else if (type == DATA_TRX_ID) {
|
||||
|
||||
return(trx_read_trx_id(field));
|
||||
} else if (type == DATA_MIX_ID) {
|
||||
|
||||
return(mach_dulint_read_compressed(field));
|
||||
} else {
|
||||
ut_ad(type == DATA_TRX_ID);
|
||||
ut_a(type == DATA_ROW_ID);
|
||||
|
||||
return(trx_read_trx_id(field));
|
||||
return(mach_read_from_6(field));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue