monty@mysql.com
f585ccb2ab
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2004-08-23 13:47:52 +03:00
monty@mysql.com
309d691e65
Changed %lx -> 0x%lx (for easier comparison of debug files)
...
Cosmetic cleanups
Don't call 'delete_elements' on copy_funcs as this causes elements to be freed twice
2004-08-23 13:46:51 +03:00
serg@serg.mylan
dd8c87f7a5
bug fixed: when inited=0, can_be_used should be 0 too. (BUG#4901)
2004-08-11 15:25:02 +02:00
konstantin@mysql.com
f08bbd1f12
assert.h needed for my_dbug.h now is included in my_dbug.h, where it for
...
some reason wasn't included before.
A lot of files cleaned up from #include <assert.h>
2004-06-10 23:58:39 +04:00
ingo@mysql.com
5a78b4c746
WL#1700 - Properly count key_blocks_used and key_blocks_current.
...
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".
2004-05-03 15:55:21 +02:00
serg@serg.mylan
abfa3f0a98
missing semicolon
2004-02-17 21:12:24 +01:00
serg@serg.mylan
4680c86bff
warning: `link_into_queue' declared inline after being called
...
warning: `unlink_from_queue' declared inline after being called
let's un-inline them, compiler can usually decide better what should be inlined
2004-02-12 18:35:44 +01:00
igor@rurik.mysql.com
28113396ec
key_cache.result, key_cache.test, mf_keycache.c:
...
Fixed a wrong return code by the function init_key_cache.
2003-12-09 13:29:38 -08:00
igor@rurik.mysql.com
e54f7400ab
mf_keycache.c:
...
Fixed typo that caused blocking key cache usage after resize.
Removed wrong re-initialization of resize queue in init_key_cache.
2003-11-25 17:21:43 -08:00
igor@rurik.mysql.com
f6ca51feff
mf_keycache.c, keycache.h:
...
Fix for the resize key cache operation.
2003-11-25 10:40:14 -08:00
monty@mysql.com
8aeb63dd3b
Update VC++ files
...
Portability fixes
After merge fixes
2003-11-21 01:53:01 +02:00
monty@mysql.com
7c6113a39f
Merge key cache structures to one
...
Fixed compiler warnings (IRIX C compiler and VC++)
2003-11-20 22:06:25 +02:00
pem@mysql.comhem.se
1d300f81d0
Fixed C syntax error in mysys/mf_keycache.c.
2003-11-19 09:45:49 +01:00
monty@mashka.mysql.fi
a47d56088f
Merge with 4.0 tree
2003-11-18 18:54:27 +02:00
monty@mashka.mysql.fi
cab1dc628c
CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
...
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.
2003-11-18 13:47:27 +02:00
monty@mashka.mysql.fi
0d348eeab2
Fix for service names on windows; Now we always put the service name last when we create a service
2003-11-17 13:06:32 +02:00
igor@rurik.mysql.com
8e5c62190f
Many files:
...
Improved concurrency for key cache reassignment
2003-10-01 18:20:07 -07:00
monty@narttu.mysql.fi
2c1f1206c3
Better fix for myisamchk --sort-index on windows
...
Fixed deadlock bug when doing resize of key buffer while key buffer was in active use
2003-08-25 17:19:44 +03:00
igor@rurik.mysql.com
2813cd1f0b
set_var.cc, mysqld.cc, handler.cc, set_var.h, handler.h:
...
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
2003-08-09 11:12:22 -07:00
igor@rurik.mysql.com
9306f55d8e
Many files:
...
Added key cache assignment
mi_locking.c:
Added key cache assignment: correction
my_sys.h:
Added key cache variable structure
2003-08-02 02:43:18 -07:00
igor@rurik.mysql.com
10a8adc1b5
Many files:
...
Added multiple key cache
2003-06-30 09:41:41 -07:00
igor@rurik.mysql.com
f547f2769f
Many files:
...
New feature: preload indexes into key cache.
mi_preload.c:
new file
Many files:
Added preload statement.
2003-06-12 04:29:02 -07:00
igor@rurik.mysql.com
a6c634b328
logging_ok:
...
Logging to logging@openlogging.org accepted
mf_keycache.c:
Fixed a deadlock when reading from an index file fails.
2003-05-13 12:06:34 -07:00
monty@narttu.mysql.fi
5f5c367361
Fixed bug in allocation memory in key cache. (Memory was not properly aligned which cased core dumps on sparc CPU's)
...
Changed keycache variables to start with my_ instead of _my_
2003-03-25 02:37:41 +02:00
venu@myvenu.com
ee2b888696
Windows portabilty fixups (last commit caused some errors, so recomitting) - SCRUM
2003-02-20 14:14:37 -08:00
venu@hundin.mysql.fi
961d2c3e89
Introduced a scalable key cache management.
...
Added some fields to the st_my_thread_var structure to be
able to link such structures into a list.
2003-01-28 03:37:57 +02:00
monty@mashka.mysql.fi
f9e6ae6f42
merge with 3.23
2002-11-19 12:35:17 +02:00
monty@mashka.mysql.fi
0d0bf207c4
Small change to make key cache code cleaer
2002-11-18 14:59:45 +02:00
monty@mashka.mysql.fi
dddc20d9d1
New SET syntax & system variables.
...
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
2002-07-23 18:31:22 +03:00
monty@hundin.mysql.fi
b658662ae4
Update copyright
...
Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
2001-12-06 14:10:51 +02:00
monty@hundin.mysql.fi
1d26537da5
Query cache.
...
Remove some warnings
2001-12-02 14:34:01 +02:00
monty@hundin.mysql.fi
964c292caa
Fixed typo in last changeset
2001-11-25 14:38:43 +02:00
monty@hundin.mysql.fi
777fdb5d5c
Fixes for embedded version.
2001-11-25 13:50:48 +02:00
monty@hundin.mysql.fi
880026ccf6
Cleaned up SSL documentation
...
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
2001-10-02 05:53:00 +03:00
monty@donna.mysql.fi
25a129c96f
Force close of sockets on HPUX 10.20
...
Support option lines longer than 256 chars.
Close the slow log at shutdown.
Always allow debug options to mysqld.
Change some DBUG_PRINT tags.
2001-05-19 10:14:05 +03:00
monty@donna.mysql.fi
329382c1e5
Cleanup up stacktrace code
...
Updated qsort source from glibc.
Add debugging of keycache when EXTRA_DEBUG is specified
2001-05-14 01:12:40 +03:00
monty@donna.mysql.fi
369ea3bb8e
cleanup
2001-05-12 01:00:46 +03:00
monty@tik.mysql.fi
6f9a73a1ba
Added isolation levels
...
Added SELECT .. FOR UPDATE and SELECT .. IN SHARE MODE
2001-03-21 01:02:22 +02:00
monty@donna.mysql.com
751f2d1f16
Faster log::write() call, memory leak fix, flush master fix.
2000-09-16 04:27:21 +03:00
monty@donna.mysql.com
be5e4e72b6
Small bug fixes
2000-09-07 04:55:17 +03:00
bk@work.mysql.com
f4c589ff6c
Import changeset
2000-07-31 21:29:14 +02:00