summaryrefslogtreecommitdiff
path: root/heap
Commit message (Collapse)AuthorAgeFilesLines
* limit HEAP table size with max_heap_table_size, better estimation for ↵serg@serg.mylan2005-01-142-4/+6
| | | | mem_per_row
* A fix (bug #6878: Crash with engine=memory).ram@gw.mysql.r18.ru2004-12-021-0/+7
|
* Bug #6748 heap_rfirst() doesn't work (and never did!)serg@serg.mylan2004-11-221-0/+1
| | | | range for BETWEEN typo fixed
* Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1sergefp@mysql.com2004-11-167-26/+180
|\ | | | | | | into mysql.com:/dbdata/psergey/mysql-4.1-heap-bug
| * Fix for bug#5138 continued: added comments, removed extra debug printf ↵sergefp@mysql.com2004-10-123-28/+124
| | | | | | | | calls, changed ha_heap::records_in_range to use table->rec_per_key.
| * Fix for bug#5138: hash indexes on heap tables support statistics.sergefp@mysql.com2004-09-086-10/+68
| | | | | | | | KEY::rec_per_key is updated every time 1/HEAP_STATS_UPDATE_THRESHOLD part of table records has been changed.
* | Fix compiler warnings (detected by Intel's C++ compiler)monty@mysql.com2004-10-221-2/+2
|/ | | | Fixed checking of privilege handling in CREATE ... SELECT (Bug #6094)
* Portability fixesmonty@mysql.com2004-08-261-30/+37
| | | | Fixed bug in end space handle for WHERE text_column="constant"
* ctype_utf8.test:bar@mysql.com2004-08-161-10/+91
| | | | Bug#4521: unique prefix keys, fix for HEAP HASH and HEAP BTREE case insensitive collations.
* assert.h needed for my_dbug.h now is included in my_dbug.h, where it for konstantin@mysql.com2004-06-101-1/+0
| | | | | some reason wasn't included before. A lot of files cleaned up from #include <assert.h>
* Fix skipp -> skip once and for all.paul@kite-hub.kitebird.com2004-06-031-1/+1
| | | | (Note: This affects only comments, not variable names.)
* key_cmp -> key_cmp_if_samemonty@mishka.local2004-05-161-21/+16
| | | | | | | | | 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-062-7/+141
| | | | | | | | | | | | | | | | 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.
* BTREE-indexes in HEAP tables can now be used to optimize ORDER BYmonty@mysql.com2004-03-251-3/+38
| | | | | | Don't read character set files if we are using only the default charset. In most cases the user will not anymore get a warning about missing character set files Compare strings with space extend instead of space strip. Now the following comparisons holds: "a" == "a " and "a\t" < "a". (Bug #3152). Note: Because of the above fix, one has to do a REPAIR on any table that has an ascii character < 32 last in a CHAR/VARCHAR/TEXT columns.
* WL#1648 - Start/Stop Inserting Duplicates Into a Tableingo@mysql.com2004-03-181-0/+33
|
* Optimized GIS functionsmonty@mashka.mysql.fi2004-03-041-4/+20
|
* fixed for BUG #2719 "Heap tables status shows wrong or missing data"vva@eagle.mysql.r18.ru2004-02-202-1/+9
|
* After merge fixesmonty@mysql.com2004-02-162-2/+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-112-7/+9
|\
| * Fix for BUG#2477 "Slave stop with error after master reboot if use HEAP tables":guilhem@mysql.com2004-01-302-7/+11
| | | | | | | | | | | | | | | | | | | | | | 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).
* | Missed header addedhf@deer.(none)2003-12-161-0/+1
| |
* | Added missing timeout function for named pipes and shared memory (fixes core ↵monty@mysql.com2003-12-151-13/+50
| | | | | | | | | | | | | | dump on windows) Signed auto_increment keys for HASH tables (like for MyISAM tables in 4.0) nitialize system_charset_info() early. Fixes core dump when starting windows service
* | Merge key cache structures to onemonty@mysql.com2003-11-202-7/+8
| | | | | | | | Fixed compiler warnings (IRIX C compiler and VC++)
* | mergedserg@serg.mylan2003-10-151-2/+1
|\ \
| * | minor cleanupsserg@sergbook.mysql.com2003-09-161-2/+1
| | |
* | | Merge with 4.0.16monty@narttu.mysql.fi2003-10-071-2/+2
|\ \ \ | |/ / |/| / | |/
| * - fixed several typos ("uppdate"->"update" and "tryed"->"tried")lenz@mysql.com2003-09-191-2/+2
| |
| * Fix and test-case for the bug #775: SELECT misses rows in indexed HEAP table ↵ram@mysql.r18.ru2003-07-031-3/+6
| | | | | | | | columns.
* | After merge fixesmonty@mashka.mysql.fi2003-08-191-0/+1
| | | | | | | | | | Use server character set if --default-character-set is not used Added convert_string() for more efficient alloc+character-set convert of strings
* | Fix:bar@bar.mysql.r18.ru2003-08-051-4/+6
| | | | | | | | | | | | | | | | | | | | CREATE TABLE t1 (s1 CHAR(5) CHARACTER SET latin1 COLLATE latin1_german2_ci); INSERT INTO t1 VALUES ('Ü'); INSERT INTO t1 VALUES ('ue'); SELECT DISTINCT s1 FROM t1; The above returned two rows in error. Now it returns one row, in latin1_german2_ci: Ü == ue
* | Bugfix for HEAP table rb-index scan.ram@mysql.r18.ru2003-06-101-2/+2
| |
* | CHARSET_INFO structure reorganization for easier maintainancebar@bar.mysql.r18.ru2003-05-231-2/+2
| |
* | set_default_charset() is not used anymoreroot@home.(none)2003-03-162-6/+7
| | | | | | | | Some system_charset_info were removed
* | Portability fixesmonty@narttu.mysql.fi2003-02-273-8/+12
| | | | | | | | Don't define crc32 if we are not linking with gzip
* | Portability fixes (for windows)monty@mashka.mysql.fi2003-01-211-0/+2
| | | | | | | | Some changes to the prepared statement protocol to make it easier to use and faster.
* | After merge fixesmonty@mashka.mysql.fi2002-12-061-1/+1
| | | | | | | | Added THD to add_to_xxx_list() functions for faster parsing.
* | Merge with 4.0.6monty@mashka.mysql.fi2002-12-055-5/+68
|\ \ | |/
| * New multi-table-update codemonty@mashka.mysql.fi2002-11-295-3/+68
| | | | | | | | | | | | | | New (simpler) internal timestamp handling. More debuging to heap tables. Small cleanups to multi-table-delete false -> 0 and true -> 1 (We should use TRUE and FALSE)
* | Fixed bug when creating keys in temporary HEAP tables.monty@mashka.mysql.fi2002-12-023-3/+6
| | | | | | | | | | (This caused the DISTINCT test to fail) Removed one inline as this caused compiler problems
* | removed redundant -I include-dirsserg@serg.mysql.com2002-11-261-1/+1
| |
* | fix for byte ordering bug in HEAP rb-treeram@mysql.r18.ru2002-11-192-0/+65
| |
* | fix for NULL processingram@mysql.r18.ru2002-11-153-17/+21
| |
* | merge with 4.0.5monty@hundin.mysql.fi2002-10-1625-388/+875
|\ \ | |/ |/|
| * Mergemonty@hundin.mysql.fi2002-10-141-5/+3
| |\
| | * mergemonty@narttu.mysql.fi2002-10-141-37/+6
| | |\
| | * | Portability fixes to be able to compile MySQL with VC++monty@narttu.mysql.fi2002-10-081-5/+3
| | | |
| * | | Merge work:/home/bk/mysql-4.1serg@serg.mysql.com2002-10-141-2/+2
| |\ \ \ | | | | | | | | | | | | | | | into serg.mysql.com:/usr/home/serg/Abk/mysql-4.1
| | * | | DEBUG_PRINT() has been fixedram@mysql.r18.ru2002-10-141-2/+2
| | | |/ | | |/|
| * | | mergedserg@serg.mysql.com2002-10-1425-382/+877
| |\ \ \ | | |/ /
| | * | Don't use sort_order directlybar@bar.mysql.r18.ru2002-10-101-10/+2
| | | |