summaryrefslogtreecommitdiff
path: root/heap
Commit message (Collapse)AuthorAgeFilesLines
* Fixing crash when compiled using -DNEW_HASH_FUNCTIONSbar@mysql.com/bar.myoffice.izhnet.ru2007-05-081-8/+17
| | | | (an experimental feature).
* Merge bk-internal.mysql.com:/home/bk/mysql-5.0-enginesistruewing@chilla.local2007-03-221-1/+0
|\ | | | | | | into chilla.local:/home/mydev/mysql-5.0-bug26996
| * Merge chilla.local:/home/mydev/mysql-4.1-bug26996istruewing@chilla.local2007-03-211-1/+0
| |\ | | | | | | | | | into chilla.local:/home/mydev/mysql-5.0-bug26996
| | * Bug#26996 - Update of a Field in a Memory Table ends with wrong resultistruewing@chilla.local2007-03-191-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using a MEMORY table BTREE index for scanning for updatable rows could lead to an infinite loop. Everytime a key was inserted into a btree index, the position in the index scan was cleared. The search started from the beginning and found the same key again. Now we do not clear the position on key insert an more.
* | | Fixed compiler warningsmonty@mysql.com/narttu.mysql.fi2007-01-221-1/+1
|/ / | | | | | | | | | | Fixed wrong merge that disabled 'make test' Renamed all suppress files to end in '.supp' Don't give "skipped %d bytes from file" warnings in 5.0
* | Merge bk-internal.mysql.com:/home/bk/mysql-5.0kostja@bodhi.local2007-01-112-4/+10
|\ \ | | | | | | | | | into bodhi.local:/opt/local/work/mysql-5.0-runtime
| * \ Merge moonlight.home:/home/tomash/src/mysql_ab/mysql-4.1-bug23443kroki/tomash@moonlight.home2007-01-092-4/+10
| |\ \ | | |/ | | | | | | into moonlight.home:/home/tomash/src/mysql_ab/mysql-5.0-bug23443
| | * Merge moonlight.home:/home/tomash/src/mysql_ab/mysql-4.0-bug23443kroki/tomash@moonlight.home2007-01-092-4/+10
| | |\ | | | | | | | | | | | | into moonlight.home:/home/tomash/src/mysql_ab/mysql-4.1-bug23443
| | | * BUG#23443: user-defined variables can consume too much memory in thekroki/tomash@moonlight.home2007-01-092-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | server The problem was that when memory was exhausted HEAP engine could crash (GROUP BY uses HEAP TABLE). Alternatively, if SET was used, it could report an error "You may only use constant expressions with SET" instead of "Out of memory (Needed NNNNNN bytes)". The solution is: - pass MY_WME to (some) calls to my_malloc() to get correct message. - fix heap_write() so that the first key is skipped during cleanup on ENOMEM because it wasn't inserted and doesn't have to be deleted. No test case is provided because we can't test out-of-memory behaviour in our current test framework.
| | | * A fix (bug #6878: Crash with engine=memory).ram@gw.mysql.r18.ru2004-12-021-0/+7
| | | |
* | | | my_strtoll10-x86.s:kent@mysql.com/kent-amd64.(none)2006-12-3129-28/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Corrected spelling in copyright text Makefile.am: Don't update the files from BitKeeper Many files: Removed "MySQL Finland AB & TCX DataKonsult AB" from copyright header Adjusted year(s) in copyright header Many files: Added GPL copyright text Removed files: Docs/Support/colspec-fix.pl Docs/Support/docbook-fixup.pl Docs/Support/docbook-prefix.pl Docs/Support/docbook-split Docs/Support/make-docbook Docs/Support/make-makefile Docs/Support/test-make-manual Docs/Support/test-make-manual-de Docs/Support/xwf
* | | | Many files:kent@mysql.com/kent-amd64.(none)2006-12-2328-56/+28
| | | | | | | | | | | | | | | | Changed header to GPL version 2 only
* | | | 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)