summaryrefslogtreecommitdiff
path: root/mysys/my_bitmap.c
Commit message (Collapse)AuthorAgeFilesLines
* BUG#21206: memory corruption when too many cursors are opened at oncekroki/tomash@moonlight.intranet2006-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | Too many cursors (more than 1024) could lead to memory corruption. This affects both, stored routines and C API cursors, and the threshold is per-server, not per-connection. Similarly, the corruption could happen when the server was under heavy load (executing more than 1024 simultaneous complex queries), and this is the reason why this bug is fixed in 4.1, which doesn't support cursors. The corruption was caused by a bug in the temporary tables code, when an attempt to create a table could lead to a write beyond allocated space. Note, that only internal tables were affected (the tables created internally by the server to resolve the query), not tables created with CREATE TEMPORARY TABLE. Another pre-condition for the bug is TRUE value of --temp-pool startup option, which, however, is a default. The cause of a bug was that random memory was overwritten in bitmap_set_next() due to out-of-bound memory access.
* Merge 4.0.24 compile changes into the 4.1 tree.joerg@mysql.com2005-03-071-37/+222
|
* Please the Sun C compiler by qualifying 'inline' as 'static inline'.joerg@mysql.com2005-03-041-2/+2
|
* Cleanup of alarm macros.monty@hundin.mysql.fi2001-12-211-1/+1
| | | | | Fixed data corruption bug in query cache. Made queries be dependent of the database in use.
* Merge with 3.23.47monty@hundin.mysql.fi2001-12-151-9/+50
|\
| * misc cleanup sasha@mysql.sashanet.com2001-12-131-3/+4
| |
| * slave-skip-errorssasha@mysql.sashanet.com2001-12-121-7/+45
| | | | | | | | | | | | added extra/mysql_install.c - will work on it in 4.0, but it does not hurt to have it sit in 3.23 tree for now since it will eventually be backported to 3.23 anyway
* | Update copyrightmonty@hundin.mysql.fi2001-12-061-16/+14
| | | | | | | | Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
* | New improved IO_CACHEmonty@bitch.mysql.fi2001-11-281-1/+1
|/
* Added defines for fast mutex in glibc 2.2 (should be safe)monty@donna.mysql.fi2001-03-241-1/+1
| | | | | | Fixed crash in SELECT DISTINCT SUM(...) Fix return value of mysortncmp() for innobase Fix join_crash bug
* Fixed bug in bitmap handlingmonty@donna.mysql.com2001-02-091-1/+2
|
* Force sockets to be blocking on HPUX 11.0monty@donna.mysql.com2001-02-071-7/+5
| | | | Changed BITMAP to MY_BITMAP to avoid type conflict on windows
* Use new bitmap interfacemonty@donna.mysql.com2001-02-071-17/+42
| | | | | Patches for Armstrong Removed warnings when using REPAIR TABLE .. EXTENDED
* New myisamchk option --sort-recovermonty@donna.mysql.com2001-01-311-22/+43
| | | | | | | | Allow delete of crashed MyISAM tables Fixed bug when BLOB was first part of key Fixed bug when using result from CASE in GROUP BY Fixed core-dump bug in monthname() Optimized calling of check_db_name()
* Added --temp-pool option to mysqld. This will cause temporary filesjcole@tetra.spaceapes.com2001-01-271-0/+60
created to use a small set of filenames, to try and avoid problems in the Linux kernel.