summaryrefslogtreecommitdiff
path: root/mysys/mf_keycache.c
Commit message (Collapse)AuthorAgeFilesLines
* key_cache.result, key_cache.test:igor@rurik.mysql.com2004-11-161-12/+13
| | | | | | | | | Added a test case for bug #6447. mf_keycache.c: Fixed bug #6447. Erronious code in the key_cache_read function caused problems when reading key blocks with offset>0 into key cache. The code of key_cache_insert and key_cache_write was modified similarly.
* Merge bk-internal.mysql.com:/home/bk/mysql-4.1monty@mysql.com2004-08-231-15/+16
|\ | | | | | | into mysql.com:/home/my/mysql-4.1
| * Changed %lx -> 0x%lx (for easier comparison of debug files)monty@mysql.com2004-08-231-15/+16
| | | | | | | | | | Cosmetic cleanups Don't call 'delete_elements' on copy_funcs as this causes elements to be freed twice
* | bug fixed: when inited=0, can_be_used should be 0 too. (BUG#4901)serg@serg.mylan2004-08-111-21/+21
|/
* 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>
* WL#1700 - Properly count key_blocks_used and key_blocks_current.ingo@mysql.com2004-05-031-16/+68
| | | | | | Introduced a new free blocks list. Free blocks are now re-used before new blocks are allocated from the pool. There is a new status variable which can be queried by "show status like key_blocks_unused".
* missing semicolonserg@serg.mylan2004-02-171-1/+1
|
* warning: `link_into_queue' declared inline after being calledserg@serg.mylan2004-02-121-2/+2
| | | | | warning: `unlink_from_queue' declared inline after being called let's un-inline them, compiler can usually decide better what should be inlined
* key_cache.result, key_cache.test, mf_keycache.c:igor@rurik.mysql.com2003-12-091-1/+1
| | | | Fixed a wrong return code by the function init_key_cache.
* mf_keycache.c:igor@rurik.mysql.com2003-11-251-11/+10
| | | | | Fixed typo that caused blocking key cache usage after resize. Removed wrong re-initialization of resize queue in init_key_cache.
* mf_keycache.c, keycache.h:igor@rurik.mysql.com2003-11-251-33/+189
| | | | Fix for the resize key cache operation.
* Update VC++ filesmonty@mysql.com2003-11-211-5/+3
| | | | | Portability fixes After merge fixes
* Merge key cache structures to onemonty@mysql.com2003-11-201-260/+192
| | | | Fixed compiler warnings (IRIX C compiler and VC++)
* Fixed C syntax error in mysys/mf_keycache.c.pem@mysql.comhem.se2003-11-191-1/+1
|
* Merge with 4.0 treemonty@mashka.mysql.fi2003-11-181-2/+2
|\
| * Fix for service names on windows; Now we always put the service name last ↵monty@mashka.mysql.fi2003-11-171-1/+1
| | | | | | | | when we create a service
| * Better fix for myisamchk --sort-index on windowsmonty@narttu.mysql.fi2003-08-251-5/+13
| | | | | | | | Fixed deadlock bug when doing resize of key buffer while key buffer was in active use
* | CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTSmonty@mashka.mysql.fi2003-11-181-154/+195
| | | | | | | | | | | | | | | | | | | | New multi-key-cache handling. This was needed becasue the old one didn't work reliable with MERGE tables. ALTER TABLE table_name ... CHARACTER SET ... now changes all char/varchar/text columns to the given character set (One must use ALTER TABLE ... DEFAULT CHARACTER SET ... to change the default character set) Fixed that have_compress is detected properly (fixes problems with func_compress.test on platforms without zlib) New syntax for CACHE INDEX ('keys' is optional if no index name is given and one mentions the key cache name only ones) Removed compiler warnings Added mysql_set_server_option() to allow clients like PHP to easaily set/reset the multi-statement flag.
* | Many files:igor@rurik.mysql.com2003-10-011-4/+12
| | | | | | | | Improved concurrency for key cache reassignment
* | set_var.cc, mysqld.cc, handler.cc, set_var.h, handler.h:igor@rurik.mysql.com2003-08-091-124/+506
| | | | | | | | | | | | | | | | Added key cache parameters for midpoint insertion strategy Many files: Added midpoint insertion strategy for key cache mi_test2.c: Added a parameter to resize_key_cache
* | Many files:igor@rurik.mysql.com2003-08-021-102/+132
| | | | | | | | | | | | | | | | Added key cache assignment mi_locking.c: Added key cache assignment: correction my_sys.h: Added key cache variable structure
* | Many files:igor@rurik.mysql.com2003-06-301-403/+483
| | | | | | | | Added multiple key cache
* | Many files:igor@rurik.mysql.com2003-06-121-0/+80
| | | | | | | | | | | | | | | | New feature: preload indexes into key cache. mi_preload.c: new file Many files: Added preload statement.
* | logging_ok:igor@rurik.mysql.com2003-05-131-3/+6
| | | | | | | | | | | | Logging to logging@openlogging.org accepted mf_keycache.c: Fixed a deadlock when reading from an index file fails.
* | Fixed bug in allocation memory in key cache. (Memory was not properly ↵monty@narttu.mysql.fi2003-03-251-443/+494
| | | | | | | | | | | | aligned which cased core dumps on sparc CPU's) Changed keycache variables to start with my_ instead of _my_
* | Windows portabilty fixups (last commit caused some errors, so recomitting) - ↵venu@myvenu.com2003-02-201-4/+4
| | | | | | | | SCRUM
* | Introduced a scalable key cache management.venu@hundin.mysql.fi2003-01-281-614/+1615
|/ | | | | Added some fields to the st_my_thread_var structure to be able to link such structures into a list.
* merge with 3.23monty@mashka.mysql.fi2002-11-191-5/+6
|\
| * Small change to make key cache code cleaermonty@mashka.mysql.fi2002-11-181-5/+6
| |
* | New SET syntax & system variables.monty@mashka.mysql.fi2002-07-231-25/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | Made a some new buffers thread specific and changeable. Resize of key_buffer. AUTO_COMMIT -> AUTOCOMMIT Fixed mutex bug in DROP DATABASE Fixed bug when using auto_increment as second part of a key where first part could include NULL. Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers. Don't write message to error log when slave reconnects becasue of timeout. Fixed possible update problem when using DELETE/UPDATE on small tables (In some cases we used index even if table scanning would be better) A lot of minior code cleanups
* | Update copyrightmonty@hundin.mysql.fi2001-12-061-15/+14
| | | | | | | | Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
* | Query cache.monty@hundin.mysql.fi2001-12-021-8/+17
| | | | | | | | Remove some warnings
* | Fixed typo in last changesetmonty@hundin.mysql.fi2001-11-251-1/+1
| |
* | Fixes for embedded version.monty@hundin.mysql.fi2001-11-251-0/+1
| |
* | Cleaned up SSL documentationmonty@hundin.mysql.fi2001-10-021-27/+27
|/ | | | | | | 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
* Force close of sockets on HPUX 10.20monty@donna.mysql.fi2001-05-191-2/+2
| | | | | | | Support option lines longer than 256 chars. Close the slow log at shutdown. Always allow debug options to mysqld. Change some DBUG_PRINT tags.
* Cleanup up stacktrace codemonty@donna.mysql.fi2001-05-141-1/+1
| | | | | Updated qsort source from glibc. Add debugging of keycache when EXTRA_DEBUG is specified
* cleanupmonty@donna.mysql.fi2001-05-121-6/+6
|
* Added isolation levelsmonty@tik.mysql.fi2001-03-211-9/+12
| | | | Added SELECT .. FOR UPDATE and SELECT .. IN SHARE MODE
* Faster log::write() call, memory leak fix, flush master fix.monty@donna.mysql.com2000-09-161-1/+2
|
* Small bug fixesmonty@donna.mysql.com2000-09-071-2/+12
|
* Import changesetbk@work.mysql.com2000-07-311-0/+753