Details
- 
    
Bug
 - 
    Status: Closed (View Workflow)
 - 
    
Major
 - 
    Resolution: Fixed
 - 
    10.6, 10.11, 11.4, 10.5(EOL)
 
Description
While working on MDEV-35049, I noticed that the function page_cur_search_with_match() is allocating memory for invoking rec_get_offsets(). Its callers typically allocate this memory as well, and they would also invoke rec_get_offsets() again on the returned record. This could be optimized in some way.
A possible fix might be to implement a comparison function that would compute the addresses of fields of records on the fly.
Attachments
Issue Links
- causes
 - 
                    
MDEV-35849 InnoDB: index records in a wrong order upon CHECK with DESC index
-         
 - Closed
 
 -         
 
- is part of
 - 
                    
MDEV-35049 fix innodb-adaptive-hash-index scalability with multiple threads
-         
 - Closed
 
 -