diff options
author | unknown <monty@mysql.com> | 2004-04-08 01:50:59 +0300 |
---|---|---|
committer | unknown <monty@mysql.com> | 2004-04-08 01:50:59 +0300 |
commit | 3cb13f7926334b6542d46d6a78c8aadeb1aefcc8 (patch) | |
tree | 1b3035cc7dd1e396fd6d35bd81a7453e35357f2e /mysql-test/r/grant.result | |
parent | e9447881eb13378b06f0939091ab4e258a83ad51 (diff) | |
download | mariadb-git-3cb13f7926334b6542d46d6a78c8aadeb1aefcc8.tar.gz |
Cleanup/optimizations of structures and key usage to make it easier to move key-range-search to handler
sql/field.cc:
Use 'HA_KEY_BLOB_LENGTH' instead of '2' for 'packed-length'
Changed 'get_key_image' and 'set_key_image' to take length data part of key (without length-store bytes). This makes the interface easier to use from opt_range.cc
sql/field.h:
Indentation fix
sql/opt_range.cc:
Changed KEY_PART to use KEY_PART_INFO->store_length (which includes null-byte if needed)
This makes some functions easier and allowed us to easier use the new get_key_image/set_key_image interfaces
Simple loop optimization.
sql/opt_range.h:
Changed part_length -> store_length and added length to KEY_PART.
This make this structure more like KEY_PART_INFO
Added 'sorted' to QUICK_SELECT for NDB
sql/sql_class.cc:
Fixed compiler warning
sql/sql_select.cc:
Set 'quick->sorted' if keys should be sorted (for NDB)
sql/table.cc:
GEOMETRY KEYS doesn't have length prefix in keys
Diffstat (limited to 'mysql-test/r/grant.result')
0 files changed, 0 insertions, 0 deletions