mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed LP bug #663818.
After the patch for bug 663840 had been applied the test case for bug 663818 triggered the assert introduced by this patch. It happened because the the patch turned out to be incomplete: the space needed for a key entry must be taken into account for the record written into the buffer, and, for the next record as well, when figuring out whether the record being written is the last for the buffer or not.
This commit is contained in:
@ -1282,7 +1282,7 @@ protected:
|
||||
Calculate how much space is taken by allocation of the key
|
||||
entry for a record in the join buffer
|
||||
*/
|
||||
virtual uint extra_key_length() { return key_entry_length; }
|
||||
uint extra_key_length() { return key_entry_length; }
|
||||
|
||||
/*
|
||||
Skip record from a hashed join buffer if its match flag
|
||||
|
Reference in New Issue
Block a user