summaryrefslogtreecommitdiff
path: root/myisam/mi_rkey.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge chilla.local:/home/mydev/mysql-4.1-bug14400-montyistruewing@chilla.local2006-09-191-1/+0
|\ | | | | | | into chilla.local:/home/mydev/mysql-5.0-bug14400-monty
| * Merge bk-internal:/home/bk/mysql-4.0istruewing@chilla.local2006-09-191-1/+0
| |\ | | | | | | | | | into chilla.local:/home/mydev/mysql-4.1-bug14400-monty
| | * Better bug fix for #14400 "Query joins wrong rows from table which is ↵monty@mysql.com/narttu.mysql.fi2006-08-101-23/+30
| | | | | | | | | | | | | | | | | | | | | | | | subject of "concurrent insert"" The previous bug fix didn't work when using partial keys. Don't use GNUC min/max operations are they are depricated. Fixed valgrind warning
| * | Merge bk-internal.mysql.com:/home/bk/mysql-4.1-enginesistruewing@chilla.local2006-09-151-2/+2
| |\ \ | | | | | | | | | | | | into chilla.local:/home/mydev/mysql-4.1-bug14400
| * \ \ Merge bk-internal.mysql.com:/home/bk/mysql-4.1-enginesistruewing@chilla.local2006-09-121-20/+34
| |\ \ \ | | | | | | | | | | | | | | | into chilla.local:/home/mydev/mysql-4.1-bug14400
* | \ \ \ Merge chilla.local:/home/mydev/mysql-4.1-bug14400istruewing@chilla.local2006-09-141-2/+2
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | into chilla.local:/home/mydev/mysql-5.0-bug14400
| * | | | Bug#14400 - Query joins wrong rows from table which is subject ofistruewing@chilla.local2006-09-141-2/+2
| | |/ / | |/| | | | | | | | | | | | | | "concurrent insert" After merge fix.
* | | | Merge chilla.local:/home/mydev/mysql-4.1-bug14400istruewing@chilla.local2006-09-071-20/+34
|\ \ \ \ | |/ / / | | | | | | | | into chilla.local:/home/mydev/mysql-5.0-bug14400
| * | | Merge chilla.local:/home/mydev/mysql-4.0-bug14400istruewing@chilla.local2006-09-071-16/+22
| |\ \ \ | | | | | | | | | | | | | | | into chilla.local:/home/mydev/mysql-4.1-bug14400
| | * | | Bug#14400 - Query joins wrong rows from table which is subject ofistruewing@chilla.local2006-09-071-16/+22
| | | | | | | | | | | | | | | | | | | | | | | | | "concurrent insert" Additional fix for full keys and test case.
| * | | | Merge chilla.local:/home/mydev/mysql-4.0-bug14400istruewing@chilla.local2006-08-291-12/+31
| |\ \ \ \ | | |/ / / | | | | | | | | | | into chilla.local:/home/mydev/mysql-4.1-bug14400
| | * | | Bug#14400 - Query joins wrong rows from table which isistruewing@chilla.local2006-08-291-12/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | subject of "concurrent insert" Better fix by Monty: "The previous bug fix didn't work when using partial keys."
* | | | | Merge mysql.com:/home/mydev/mysql-4.1-bug14400ingo@mysql.com2006-07-051-6/+18
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | into mysql.com:/home/mydev/mysql-5.0-ateam
| * | | | Merge mysql.com:/home/mydev/mysql-4.0-bug14400ingo@mysql.com2006-07-041-6/+18
| |\ \ \ \ | | |/ / / | |/| | / | | | |/ | | |/| into mysql.com:/home/mydev/mysql-4.1-bug14400
| | * | Bug#14400 - Query joins wrong rows from table which is subject of ↵ingo@mysql.com2006-06-281-2/+14
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "concurrent insert" It was possible that fetching a record by an exact key value (including the record pointer) could return a record with a different key value. This happened only if a concurrent insert added a record with the searched key value after the fetching statement locked the table for read. The search succeded on the key value, but the record was rejected as it was past the file length that was remembered at start of the fetching statement. With other words it was rejected as being a concurrently inserted record. The action to recover from this problem was to fetch the record that is pointed at by the next key of the index. This was repeated until a record below the file length was found. I do now avoid this loop if an exact match was searched. If this match is beyond the file length, it is now treated as "key not found". There cannot be another key with the same record pointer.
* | | Merge mysql.com:/users/lthalmann/bkroot/mysql-4.1lars@mysql.com2005-10-101-2/+2
|\ \ \ | |/ / | | | | | | into mysql.com:/users/lthalmann/bk/mysql-5.0
| * | Review of new code since last pullmonty@mysql.com2005-10-071-2/+2
| | | | | | | | | | | | | | | - Use %lx instead of %p as %p is not portable - Don't replace ROW item with Item_null
* | | Merge mysql.com:/home/mydev/mysql-4.1-4100ingo@mysql.com2005-09-231-2/+5
|\ \ \ | |/ / | | | | | | into mysql.com:/home/mydev/mysql-5.0-5000
| * | Merge mysql.com:/home/mydev/mysql-4.0-4000ingo@mysql.com2005-09-231-2/+5
| |\ \ | | |/ | | | | | | into mysql.com:/home/mydev/mysql-4.1-4100
| | * Bug#9112 - Merge table with composite index producing invalid results with ↵ingo@mysql.com2005-09-231-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some queries The problem was an ab-use of last_rkey_length. Formerly we saved the packed key length (of the search key) in this element. But in certain cases it got replaced by the (packed) result key length. Now we use a new element of MI_INFO to save the packed key length of the search key.
* | | After merge fixesmonty@mysql.com2004-12-311-1/+1
| | | | | | | | | | | | | | | Cleanup of mi_print_error() handling Deleted 'merge' directory
* | | WL#1895 - Print message to error log in case of detected MyISAM corruptioningo@mysql.com2004-12-231-0/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | Changed my_error() to print error messages, which come from arbitrary registered ranges of error messages. Messages can be unregistered (and should be at end of the program). Added registration of handler error messages. Added a new mi_print_error() macro and a new mi_report_error() function, which supply error messages with a table name. Added calls to mi_print_error() or mi_report_error() at all places in MyISAM, where table corruption is detected.
* | WL#1163 To make spatial code optionalhf@deer.(none)2004-03-121-0/+2
| | | | | | | | myisam spatial code isolated
* | After merge fixesmonty@mashka.mysql.fi2003-05-211-1/+1
| | | | | | | | Added initialization of all important global variables
* | Merge with 4.0.13monty@narttu.mysql.fi2003-05-191-16/+32
|\ \ | |/
| * Fix reference to not initialized memorymonty@narttu.mysql.fi2003-04-301-3/+6
| | | | | | | | Changed handing of priv_host to fix bug in FLUSH PRIVILEGES
| * Fixed problem when comparing a key for a multi-byte-character set. (bug 152)monty@mashka.mysql.fi2003-04-271-10/+23
| | | | | | | | | | | | | | | | Use 0x.... as strings if 'new' mode. (bug 152) Don't report -max on windows when InnoDB is enabled. (bug 332) Reset current_linfo; This could cause a hang when doing PURGE LOGS. Fix for row numbers in EXPLAIN (bug 322) Fix that USE_FRM works for all table types (bug 97)
* | myisammrg::index_next_sameserg@serg.mysql.com2002-11-251-8/+9
| |
* | This ChangeSet adds RTREE support into myisam library.bar@gw.udmsearch.izhnet.ru2002-02-201-12/+24
|/ | | | RTREEs will be used for GIS extension in MySQL
* Cleaned up SSL documentationmonty@hundin.mysql.fi2001-10-021-3/+9
| | | | | | | Fixes for embedded server Made key_cache more configurable Fixed that one can change key blocksize in MyISAM A lot of optimizations to make MyISAM slightly faster
* Fixed bug when using MERGE on files > 4Gmonty@donna.mysql.fi2001-05-171-1/+1
| | | | | | Fixed bug in SELECT db1.table.* FROM db1.table,db2.table Fixed bug in INSERT DELAYED when doing shutdown and a table was locked Changed that tmp_table_size =4G-1 means unlimited.
* Fixed bug in ALTER TABLEmonty@donna.mysql.fi2001-04-011-11/+3
| | | | | Removed _mi_rkey() function New fork_big.pl multi-thread test
* Fixed indention, removed compiler varnings and fixed a bugmonty@donna.mysql.com2000-09-291-7/+7
| | | | in FULLTEXT indexes.
* PART I: Keys support for MyMERGE tablesserg@infomag.ape.relarn.ru2000-08-141-7/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | myisammrg/ | Makefile.am | mymrgdef.h | support for keys myrg_open.c | & myrg_queue.c | bugfixes myrg_rfirst.c | myrg_rkey.c | myrg_rlast.c | myrg_rnext.c | myrg_rprev.c | myrg_rrnd.c | include/myisammrg.h | rkey/rnext/etc prototyped sql/ | ha_myisammrg.cc | support for keys ha_myisammrg.h | myisam/ | mi_rkey.c | buf==NULL extension, _mi_rkey() mi_rnext.c | mi_rprev.c | include/queues.h | reinit_queue() - same as init_queue, but w/o malloc mysys/queues.c | PART II: Miscellaneous myisam/common_words | deleted (looks like I checked it in by mistake) some files (like acconfig.h, Makefile.am, COPYING.LIB, etc) | Change mode to -rw-r--r-- (by `chmod a-x ')
* Import changesetbk@work.mysql.com2000-07-311-0/+89