MySQL 8.4.2
Source Code Documentation
|
Comparison services for records. More...
Functions | |
static int | cmp_dfield_dfield (const dfield_t *dfield1, const dfield_t *dfield2, bool is_asc) |
Compare two data fields. More... | |
static int | cmp_multi_value_dfield_dfield (const dfield_t *dfield1, const dfield_t *dfield2) |
static int | cmp_rec_rec (const rec_t *rec1, const rec_t *rec2, const ulint *offsets1, const ulint *offsets2, const dict_index_t *index, bool spatial_index_non_leaf, ulint *matched_fields, bool cmp_btree_recs) |
static bool | cmp_dfield_dfield_eq_prefix (const dfield_t *dfield1, const dfield_t *dfield2) |
Compare two data fields. More... | |
Comparison services for records.
Created 7/1/1994 Heikki Tuuri
|
inlinestatic |
Compare two data fields.
[in] | dfield1 | data field; must have type field set |
[in] | dfield2 | data field |
[in] | is_asc | true=ASC, false=DESC |
0 | if dfield1 is equal to dfield2 |
negative | if dfield1 is less than dfield2 |
positive | if dfield1 is greater than dfield2 |
|
inlinestatic |
Compare two data fields.
[in] | dfield1 | data field |
[in] | dfield2 | data field |
true | if dfield1 is equal to dfield2, or a prefix of dfield1 |
false | otherwise |
|
inlinestatic |