summaryrefslogtreecommitdiff
path: root/heap/heapdef.h
Commit message (Collapse)AuthorAgeFilesLines
* WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again).ingo@mysql.com2004-05-061-1/+2
| | | | | | | | | | | | | | | | 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.
* fix for NULL processingram@mysql.r18.ru2002-11-151-1/+2
|
* merge with 4.0.5monty@hundin.mysql.fi2002-10-161-31/+44
|\
| * Heap table code cleanupram@gw.udmsearch.izhnet.ru2002-05-231-2/+2
| |
| * BTREE heap key structure is now the same as MyISAMram@gw.udmsearch.izhnet.ru2002-05-211-1/+2
| | | | | | | | | | _mi_compare_text -> mi_compate_text Changes according Monty's suggestions
| * MI_KEYSEG -> HA_KEYSEGram@gw.udmsearch.izhnet.ru2002-04-251-1/+1
| | | | | | | | _mi_key_cmp -> ha_key_cmp
| * RB-Tree indexes support in HEAP tablesbar@gw.udmsearch.izhnet.ru2002-04-251-31/+43
| | | | | | | | | | | | Renamed _hp_func -> hp_func mi_key_cmp moved to /mysys/my_handler.c New tests for HEAP tables
* | Merge with 3.23.54monty@hundin.mysql.fi2002-10-161-0/+11
|\ \ | |/ |/|
| * Allocate HEAP blocks in smaller blocks to get better memory utilization and ↵monty@hundin.mysql.fi2002-10-131-0/+11
| | | | | | | | | | | | more speed when used with safemalloc. Don't initalize memory areas when run with --skip-safemalloc.
* | Added support of null keys in HEAP tablesmonty@tik.mysql.fi2002-01-121-0/+1
| | | | | | | | Added ORDER BY optimization
* | Update copyrightmonty@hundin.mysql.fi2001-12-061-3/+3
|/ | | | Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
* Portability fixesmonty@hundin.mysql.fi2001-08-231-2/+2
|
* Import changesetbk@work.mysql.com2000-07-311-0/+81