summaryrefslogtreecommitdiff
path: root/include/heap.h
Commit message (Collapse)AuthorAgeFilesLines
* key_cmp -> key_cmp_if_samemonty@mishka.local2004-05-161-5/+2
| | | | | | | | | New records_in_range() interface (similar to read_range()) Macros for faster bitmap handling Simplify read_range() code (#WL1786) New general key_cmp() function to compare keys
* WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again).ingo@mysql.com2004-05-061-1/+6
| | | | | | | | | | | | | | | | 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.
* After merge fixesmonty@mysql.com2004-02-161-1/+0
| | | | | | | Added more DBUG statements Ensure that we are comparing end space with BINARY strings Use 'any_db' instead of '' to mean any database. (For HANDLER command) Only strip ' ' when comparing CHAR, not other space-like characters (like \t)
* Merge with 4.0.18monty@mysql.com2004-02-111-0/+2
|\
| * Fix for BUG#2477 "Slave stop with error after master reboot if use HEAP tables":guilhem@mysql.com2004-01-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | when we open the HEAP table for the first time since server restart, in hp_open(), we set a flag to propagate this info to the handler level which then writes a DELETE FROM this_heap_table to the binlog. It is not a perfect solution for the bug, because between the server start and the first open of the table, the slave still had old data in his table so a SELECT on the slave may show wrong content. But if there is a --init-file to populate the HEAP table on master as startup, then this is a safe fix (I'll put a note about init-file in the HEAP section of the manual).
* | auto_increment for heap tablesram@mysql.r18.ru2002-10-071-2/+14
| | | | | | | | test case
* | heap_create() <-> heap_open()ram@gw.udmsearch.izhnet.ru2002-06-071-4/+3
| |
* | Heap table code cleanupram@gw.udmsearch.izhnet.ru2002-05-231-0/+1
| |
* | BTREE heap key structure is now the same as MyISAMram@gw.udmsearch.izhnet.ru2002-05-211-2/+1
| | | | | | | | | | _mi_compare_text -> mi_compate_text Changes according Monty's suggestions
* | Index number argumentram@gw.udmsearch.izhnet.ru2002-04-291-2/+2
| | | | | | | | Fix in test results
* | 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-11/+26
|/ | | | | | Renamed _hp_func -> hp_func mi_key_cmp moved to /mysys/my_handler.c New tests for HEAP tables
* Added support of null keys in HEAP tablesmonty@tik.mysql.fi2002-01-121-1/+3
| | | | Added ORDER BY optimization
* Update copyrightmonty@hundin.mysql.fi2001-12-061-15/+14
| | | | Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
* merge with 3.23.42monty@work.mysql.com2001-09-021-2/+2
|\
| * Portability fixesmonty@hundin.mysql.fi2001-08-301-2/+2
| |
* | Fix of UNION codemonty@hundin.mysql.fi2001-08-191-1/+2
|/ | | | | | | Added heap_delete_table Added HA_EXTRA_PREPARE_FOR_DELETE Added and use my_dup() for faster open of tables. Removed not working no-mix-table-type
* Fixed --no-defaults in mysqltestmonty@donna.mysql.com2000-12-291-1/+1
|
* Import changesetbk@work.mysql.com2000-07-311-0/+181