summaryrefslogtreecommitdiff
path: root/heap
Commit message (Collapse)AuthorAgeFilesLines
* Fixed compiler warningsmonty@mysql.com/narttu.mysql.fi2006-11-301-1/+1
| | | | Don't assert if my_thread_end() is called twice (common case)
* Fixed portability issue in my_thr_init.c (was added in my last push)monty@mysql.com/narttu.mysql.fi2006-11-301-1/+2
| | | | | | | | | | Fixed compiler warnings (detected by VC++): - Removed not used variables - Added casts - Fixed wrong assignments to bool - Fixed wrong calls with bool arguments - Added missing argument to store(longlong), which caused wrong store method to be called.
* Remove compiler warningsmonty@mysql.com/nosik.monty.fi2006-11-207-24/+28
| | | | | | | (Mostly in DBUG_PRINT() and unused arguments) Fixed bug in query cache when used with traceing (--with-debug) Fixed memory leak in mysqldump Removed warnings from mysqltest scripts (replaced -- with #)
* make dist changes for Cmake buildgeorg@lmy002.wdf.sap.corp2006-09-011-1/+1
|
* Additional files for cmake supportgeorg@lmy002.wdf.sap.corp2006-08-311-0/+8
|
* Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-4.1cmiller@zippy.cornsilk.net2006-08-091-0/+3
|\ | | | | | | into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0
| * Bug#9719: DELETE with WHERE on HEAP table just deletes first row of matchedcmiller@zippy.cornsilk.net2006-08-021-0/+3
| | | | | | | | | | | | set. (Ramil's patch, recreated.)
* | Merge mysql.com:/home/my/mysql-4.1monty@mysql.com2006-06-301-1/+1
|\ \ | |/ | | | | into mysql.com:/home/my/mysql-5.0
| * Don't read ~/.my.cnf in mysqldump.testmonty@mysql.com2006-06-301-1/+1
| |
* | Merge mysql.com:/home/my/mysql-4.1monty@mysql.com2006-06-302-1/+3
|\ \ | |/ | | | | into mysql.com:/home/my/mysql-5.0
| * Fixed include file usagemonty@mysql.com2006-06-302-1/+3
| | | | | | | | | | hp_test2 now works again Fixed wrong cast, which caused problems with gcc 4.0 and floats in prepared statements (Bug #19694)
* | Merge april.(none):/home/svoj/devel/mysql/BUG12873/mysql-5.0svoj@april.(none)2006-05-241-1/+1
|\ \ | | | | | | | | | into april.(none):/home/svoj/devel/mysql/BUG17001/mysql-5.0
| * | BUG#12873 - BTREE index on MEMORY table with multiple NULL valuessvoj@april.(none)2006-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | doesn't work properly Unique BTREE index on MEMORY table refuse multiple NULL values. Fixed search_flag to allow multiple null values inside unique key.
* | | BUG#18233 - Memory tables INDEX USING HASH (a,b) returns 1 row onsvoj@april.(none)2006-05-101-0/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | SELECT WHERE a= AND b= Selecting data from memory table with varchar column and hash index over it returns only first row matched. Problem was that key length calculation for varchar columns didn't include number of bytes to store length. Fixed key length for varchar fields to include number of bytes to store length.
* | BUG#18160 - Memory-/HEAP Table endless growing indexessvoj@april.(none)2006-04-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Updating data in HEAP table with BTREE index results in wrong index_length counter value, which keeps growing after each update. When inserting new record into tree counter is incremented by: sizeof(TREE_ELEMENT) + key_size + tree->size_of_element But when deleting element from tree it doesn't decrement counter by key_size: sizeof(TREE_ELEMENT) + tree->size_of_element This fix makes accurate allocated memory counter for tree. That is decrease counter by key_size when deleting tree element.
* | Merge mysql.com:/opt/local/work/mysql-4.1-rootkonstantin@mysql.com2006-02-021-0/+1
|\ \ | |/ | | | | into mysql.com:/opt/local/work/mysql-5.0-root
| * Bug #12796: Record lost in HEAP tablepappa@c-5608e253.1238-1-64736c10.cust.bredbandsbolaget.se2005-11-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two handler objects were present, one was used for an insert and the other for a select The state of the statistics was local to the handler object and thus the other handler object didn't notice the insert. Fix included: 1) Add a new variable key_stat_version added to whenever statistics was considered in need of update (previously key_stats_ok= FALSE in those places) 2) Add a new handler variable key_stat_version assigned whenever key_stats_ok= TRUE was set previously 3) Fix records_in_range to return records if records <= 1 4) Fix records_in_range to add 2 to rec_per_key to ensure we don't specify 0 or 1 when it isn't and thus invoking incorrect optimisations. 5) Fix unique key handling for HEAP table in records_in_range
* | Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1jani@ua141d10.elisa.omakaista.fi2005-10-272-4/+4
|\ \ | |/ | | | | into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0-tmp
| * Added more tests for new UPDATE ... ORDER BY ... LIMIT optimizationmonty@mysql.com2005-10-252-4/+4
| |
* | Bug#12891:bar@mysql.com2005-09-011-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | UNION doesn't return DISTINCT result for multi-byte characters hp_hash.c: This piece of code was pretty wrong, looks like no necessary changes were made after cut-and-paste from fixed length segment processing. Itroduced two new variables safe_length1 and safe_length2 to remember the original lengths. Fixing my_charpos and set_if_smaller calls to pass correct parameters. ctype_utf8.result, ctype_utf8.test: adding test case
* | Merge c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-4.1pappa@c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se2005-08-201-1/+1
|\ \ | |/ | | | | into c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.0
| * Bug #12460 Table Fullpappa@c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se2005-08-201-1/+1
| | | | | | | | | | | | | | On 64 bit platforms the changed statement doesn't work so making sure that the larger value is first and using subtraction is a quick and backwards-compatible fix of this line.
* | ctype_utf8.test:igor@igor-inspiron.creware.com2005-07-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | Added a test case for bug #11484. hp_hash.c: Fixed bug #11484. This bug in the function hp_rec_key_cmp resulted in wrong comparison of varchar multibyte keys if the bytes after string values happened to be different. This caused wrong results for queries returning DISTINCT varchar fields in multibyte charsets (e.g. in utf8).
* | Mergekent@mysql.com2005-07-061-1/+1
|\ \ | |/
| * Makefile.am:kent@mysql.com2005-07-051-1/+2
| | | | | | | | | | Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir
* | fixes for windows 64-bit compiler warningsgeorg@lmy002.wdf.sap.corp2005-06-132-5/+5
| |
* | Fix for bug #9404: information_schema: Weird error messages with SELECT ↵gluh@mysql.com2005-05-091-7/+6
| | | | | | | | SUM() ... GROUP BY queries
* | A fix (Bug #9489: Problem with BIT_OR and MySQL 5.0.3)ramil@mysql.com2005-04-211-0/+11
| |
* | Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0brian@zim.(none)2005-03-171-0/+1
|\ \ | | | | | | | | | into zim.(none):/home/brian/mysql/mysql-5.0
| * | after merge fixgluh@gluh.mysql.r18.ru2005-03-171-0/+2
| | |
| * | Merge 4.1 -> 5.0gluh@gluh.mysql.r18.ru2005-03-171-2/+1
| |\ \ | | |/
| | * Partly reverty back patch (in heap-auto-increment-key detection) to ensure ↵monty@mysql.com2005-03-161-2/+1
| | | | | | | | | | | | that auto_key and auto_key_type are calculated the same way
* | | Removed support for RAID, mit-threads, and MySQL FS (really, if someone ↵brian@zim.(none)2005-03-161-1/+1
|/ / | | | | | | wants this feature look at a web-dav hookup).
* | mergingramil@mysql.com2005-03-151-1/+2
|\ \ | |/
| * A fix (bug #8489: Strange auto_increment behaviour with HEAP table).ramil@mysql.com2005-03-151-1/+2
| |
* | Merge with 4.1monty@mysql.com2005-01-152-4/+6
|\ \ | |/
| * limit HEAP table size with max_heap_table_size, better estimation for ↵serg@serg.mylan2005-01-142-4/+6
| | | | | | | | mem_per_row
* | Add 0x before pointers (to help with debugging)monty@mysql.com2004-12-188-49/+99
| | | | | | | | | | | | | | | | Add support for VARCHAR with 1 or 2 length bytes Enable VARCHAR packing in MyISAM files (previous patch didn't pack data properly) Give error if we got problems in temporary tables during a SELECT Don't use new table generated by ALTER TABLE if index generation fails Fixed wrong call by range_end() (Could cause an ASSERT in debug mode)
* | Merge with new VARCHAR codemonty@mysql.com2004-12-067-18/+199
|\ \ | |/ |/|
| * Add support for up to VARCHAR (size up to 65535)monty@mysql.com2004-12-067-18/+199
| | | | | | | | | | | | | | | | | | Renamed HA_VAR_LENGTH to HA_VAR_LENGTH_PART Renamed in all files FIELD_TYPE_STRING and FIELD_TYPE_VAR_STRING to MYSQL_TYPE_STRING and MYSQL_TYPE_VAR_STRING to make it easy to catch all possible errors Added support for VARCHAR KEYS to heap Removed support for ISAM Now only long VARCHAR columns are changed to TEXT on demand (not CHAR) Internal temporary files can now use fixed length tables if the used VARCHAR columns are short
* | 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.)