mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-6738: use_stat_table + histograms crashing optimizer
- When EITS code calls store_key_image_to_rec(), it should follow its calling convention (which is counter-intuitive)
This commit is contained in:
@@ -3737,6 +3737,11 @@ bool calculate_cond_selectivity_for_table(THD *thd, TABLE *table, Item *cond)
|
||||
field Field which key image should be stored
|
||||
ptr Field value in key format
|
||||
len Length of the value, in bytes
|
||||
|
||||
ATTENTION
|
||||
len is the length of the value not counting the NULL-byte (at the same
|
||||
time, ptr points to the key image, which starts with NULL-byte for
|
||||
nullable columns)
|
||||
|
||||
DESCRIPTION
|
||||
Copy the field value from its key image to the table record. The source
|
||||
|
Reference in New Issue
Block a user