Details
-
Bug
-
Status: In Review (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.5, 10.6, 10.11, 11.4
Description
On 64-bit CPU architectures, the default InnoDB data type ulint, which is an alias of size_t is 64 bits wide.
The function ut_fold_ull() is converting a 64-bit integer to ulint. This may make sense on 32-bit systems, but we could avoid the extra instructions on 64-bit systems and just use the 64-bit index or table identifiers as is.
Attachments
Issue Links
- relates to
-
MDEV-35049 fix innodb-adaptive-hash-index scalability with multiple threads
- In Progress
-
MDEV-35190 HASH_SEARCH() is duplicating effort before HASH_INSERT() or HASH_DELETE()
- In Review