Index support functions
Internal functions for index access, key comparison, hashing and operator-class registration.
Internal functions for index access, key comparison, hashing and operator-class registration.
B
| Signature | Purpose | Source definition |
|---|---|---|
mysql.binary_n_cmp(mysql.binary_n, mysql.binary_n) → integer | Compare binary keys in B-tree order. | Generated definition |
mysql.binary_n_cmp_bytea(mysql.binary_n, bytea) → integer | Compare binary keys in B-tree order. | Generated definition |
mysql.binary_n_cmp_varbinary_n(mysql.binary_n, mysql.varbinary_n) → integer | Compare binary keys in B-tree order. | Generated definition |
mysql.binary_n_hash(mysql.binary_n) → integer | Hash the binary key for a hash index. | Generated definition |
mysql.binary_n_hash_extended(mysql.binary_n, bigint) → bigint | Hash the binary key for a hash index. | Generated definition |
mysql.bytea_cmp_binary_n(bytea, mysql.binary_n) → integer | Compare binary keys in B-tree order. | Generated definition |
mysql.bytea_cmp_varbinary_n(bytea, mysql.varbinary_n) → integer | Compare binary keys in B-tree order. | Generated definition |
H
| Signature | Purpose | Source definition |
|---|---|---|
mysql.hexlit_cmp(mysql.hexlit, mysql.hexlit) → integer | Compare binary keys in B-tree order. | SQL |
mysql.hexlit_hash(mysql.hexlit) → integer | Hash the binary key for a hash index. | SQL |
mysql.hexlit_hash_extended(mysql.hexlit, bigint) → bigint | Hash the binary key for a hash index. | SQL |
P
| Signature | Purpose | Source definition |
|---|---|---|
mysql.prefix_1042_cmp(character, character) → integer | Compare two keys for a mysql_prefix index. | Generated definition · C |
mysql.prefix_17_cmp(bytea, bytea) → integer | Compare two keys for a mysql_prefix index. | Generated definition · C |
mysql.prefix_25_cmp(text, text) → integer | Compare two keys for a mysql_prefix index. | Generated definition · C |
mysql.prefix_53875699983efc79eeb9e023e66605f5_cmp(mysql.binary_n, mysql.binary_n) → integer | Compare two keys for a mysql_prefix index. | Generated definition · C |
mysql.prefix_b8aba7e65857eaf6a91ca737fb14b87b_cmp(mysql.varbinary_n, mysql.varbinary_n) → integer | Compare two keys for a mysql_prefix index. | Generated definition · C |
mysql.prefix_handler(internal) → index_am_handler | Supply the mysql_prefix access method callbacks. | SQL · C |
mysql.prefix_options(internal) → void | Declare index operator-class options for prefix keys. | SQL · C |
R
| Signature | Purpose | Source definition |
|---|---|---|
mysql.register_prefix_binary(t regtype) → void | Register prefix-index support for a type. EXECUTE is restricted. | SQL |
mysql.register_prefix_type(t regtype, string_storage boolean) → void | Register prefix-index support for a type. EXECUTE is restricted. | SQL |
V
| Signature | Purpose | Source definition |
|---|---|---|
mysql.varbinary_n_cmp(mysql.varbinary_n, mysql.varbinary_n) → integer | Compare binary keys in B-tree order. | Generated definition |
mysql.varbinary_n_cmp_binary_n(mysql.varbinary_n, mysql.binary_n) → integer | Compare binary keys in B-tree order. | Generated definition |
mysql.varbinary_n_cmp_bytea(mysql.varbinary_n, bytea) → integer | Compare binary keys in B-tree order. | Generated definition |
mysql.varbinary_n_hash(mysql.varbinary_n) → integer | Hash the binary key for a hash index. | Generated definition |
mysql.varbinary_n_hash_extended(mysql.varbinary_n, bigint) → bigint | Hash the binary key for a hash index. | Generated definition |