| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
HEAP: Copies the key count to a backup variable and sets the key count to zero.
That way, no HEAP function will ever try to touch any index.
Re-enabling is done by copying back the backup variable.
To avoid memory leak at table close, disable deletes all index trees.
Re-enabling must be done with empty indexes and data anyway. Otherwise,
the indexes would need to be repaired, wich HEAP is not capable of.
MyISAM: Only the key_map is cleared and set.
Re-enabling must be done with empty indexes and data. Otherwise, repair needs
to be done which will enable all keys persistently.
The former implementation disabled only non-unique keys and maked this persistent.
The new implementation additionally can disable all keys, but only without
making this persistent. Re-enabling all keys can be done without repair,
if data file and indexes are empty.
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
_mi_compare_text -> mi_compate_text
Changes according Monty's suggestions
|
| |
| |
| |
| | |
_mi_key_cmp -> ha_key_cmp
|
| |
| |
| |
| |
| |
| | |
Renamed _hp_func -> hp_func
mi_key_cmp moved to /mysys/my_handler.c
New tests for HEAP tables
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
more speed when used with safemalloc.
Don't initalize memory areas when run with --skip-safemalloc.
|
| |
| |
| |
| | |
Added ORDER BY optimization
|
|/
|
|
| |
Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
|
| |
|
|
|