summaryrefslogtreecommitdiff
path: root/mysys/safemalloc.c
Commit message (Collapse)AuthorAgeFilesLines
* Changed %lx -> 0x%lx (for easier comparison of debug files)monty@mysql.com2004-08-231-4/+4
| | | | | Cosmetic cleanups Don't call 'delete_elements' on copy_funcs as this causes elements to be freed twice
* Fixed memory overrun when doing REPAIR on table with multi-part ↵monty@narttu.mysql.fi2003-07-181-3/+3
| | | | auto_increment key where one part was a packed CHAR
* Changed safemalloc structure to not have to be 8 byte aligned. (Portability ↵monty@narttu.mysql.fi2003-06-121-157/+148
| | | | problem)
* Indentationmonty@narttu.mysql.fi2003-06-121-128/+123
|
* Fixes for Netwaremonty@mashka.mysql.fi2003-01-281-28/+28
| | | | | | | | Call pthread_mutex_destroy() on not used mutex. Changed comments in .h and .c files from // -> /* */ Added detection of mutex on which one didn't call pthread_mutex_destroy() Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression" Added optimisation for ORDER BY NULL
* Merge with 3.23.54monty@hundin.mysql.fi2002-10-161-4/+3
|\
| * Allocate HEAP blocks in smaller blocks to get better memory utilization and ↵monty@hundin.mysql.fi2002-10-131-4/+3
| | | | | | | | | | | | more speed when used with safemalloc. Don't initalize memory areas when run with --skip-safemalloc.
* | Increased max possible max_allowed_packet to 1Gmonty@mashka.mysql.fi2002-09-191-7/+7
| | | | | | | | Small optimization to not do external locking of temporary MyISAM tables.
* | Portability fixes.monty@mashka.mysql.fi2002-09-111-0/+14
| | | | | | | | | | | | | | Improve mysql-test to be more robust. Fix that GRANT doesn't delete SSL options Change innobase_flush_log_at_trx_commit to uint. Don't rotate logs if we read a rotate log entry from the master.
* | Fixed bug in SAFEMALLOC for systems that requires longlong data to be ↵monty@hundin.mysql.fi2002-08-171-69/+4
| | | | | | | | | | | | | | aligned on 8 byte boundaries (like sparc) Removed thread marking of safemalloc blocks (becasue of alignment problems) Temporary fix for bigint comparison.
* | Fixed bug in REPAIR table.monty@hundin.mysql.fi2002-06-281-2/+4
| | | | | | | | Portability fix in safemalloc.c
* | Added the following new privleges:monty@mashka.mysql.fi2002-06-121-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | SHOW DATABASES CREATE TEMPORARY TABLE LOCK TABLES REPLICATION SLAVE & REPLICATION CLIENT SUPER EXECUTE All scripts & documentation is updated for this change. Added better error messages for global privileges
* | Big code cleanup/review before 4.0.2 release.monty@mashka.mysql.fi2002-06-111-97/+97
| | | | | | | | | | (All commit emails since 4.0.1 checked) This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
* | fixed bug in truncating temp tablessasha@mysql.sashanet.com2002-04-081-0/+3
| | | | | | | | | | fixed compilation problem on FreeBSD added test for truncating temporary tables
* | safemalloc cleanup. Maybe it will now compile on FreeBSD. I still not havesasha@mysql.sashanet.com2002-04-051-1/+1
| | | | | | | | access to a FreeBSD box, though.
* | Make safemalloc work without threadsmonty@hundin.mysql.fi2002-04-031-10/+22
| |
* | coverted my_thread_init() /end to use my_malloc()/my_free() to help tracksasha@mysql.sashanet.com2002-03-261-1/+69
| | | | | | | | down replication corruption
* | Update copyrightmonty@hundin.mysql.fi2001-12-061-15/+14
|/ | | | Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
* BitKeeper/triggers/post-commitsasha@mysql.sashanet.com2000-11-041-7/+2
| | | | | | | | | | | | send the diffs Docs/manual.texi updated change history include/my_sys.h Moved safemalloc_mem_limit here mysys/safemalloc.c fixed up safemalloc_mem_limit sql/mysqld.cc moved safemalloc_mem_limit declaration to my_sys.h
* libmysql/libmysql.csasha@mysql.sashanet.com2000-10-281-2/+13
| | | | | | | | | | | | | | keep vio from being freed twice when we are low on memory mysys/safemalloc.c changes for --safemalloc-mem-limit sql/mini_client.cc keep vio from being freed twice sql/mysqld.cc changes for --safemalloc-mem-limit sql/slave.cc prevent closing connection twice sql/sql_string.h shrink() did not work right when my_realloc() failed
* Import changesetbk@work.mysql.com2000-07-311-0/+518