mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge in fix for BUG#727667
This commit is contained in:
@ -79,6 +79,8 @@ typedef struct keyuse_t {
|
||||
|
||||
class store_key;
|
||||
|
||||
const int NO_REF_PART= uint(-1);
|
||||
|
||||
typedef struct st_table_ref
|
||||
{
|
||||
bool key_err;
|
||||
@ -109,8 +111,16 @@ typedef struct st_table_ref
|
||||
*/
|
||||
key_part_map null_rejecting;
|
||||
table_map depend_map; ///< Table depends on these tables.
|
||||
|
||||
/* null byte position in the key_buf. Used for REF_OR_NULL optimization */
|
||||
uchar *null_ref_key;
|
||||
/*
|
||||
ref_or_null optimization: number of key part that alternates between
|
||||
the lookup value or NULL (there's only one such part).
|
||||
If we're not using ref_or_null, the value is NO_REF_PART
|
||||
*/
|
||||
uint null_ref_part;
|
||||
|
||||
/*
|
||||
The number of times the record associated with this key was used
|
||||
in the join.
|
||||
|
Reference in New Issue
Block a user