summaryrefslogtreecommitdiff
path: root/sql/thr_malloc.cc
Commit message (Collapse)AuthorAgeFilesLines
* Simpler arena swapping codemonty@mysql.com2004-11-081-1/+1
| | | | | | | | | Now thd->mem_root is a pointer to thd->main_mem_root and THR_MALLOC is a pointer to thd->mem_root. This gives us the following benefits: - Allow us to easily detect if arena has already been swapped before (this fixes a bug in setup_conds() where arena was swaped twice in some cases) - Faster swaps of arenas (as we don't have to copy the whole MEM_ROOT) - We don't anymore have to call my_pthread_setspecific_ptr(THR_MALLOC,...) to change where memory is alloced. Now it's enough to set thd->mem_root
* A fix according to Monty's request:bar@mysql.com2004-10-291-1/+4
| | | | | "uint *errors" is now a non-optional parameter in String:copy() and copy_and_convert().
* After merge fixesmonty@mashka.mysql.fi2003-05-211-0/+30
| | | | Added initialization of all important global variables
* fixed bug in determinating uncacheable queriesbell@sanja.is.com.ua2003-01-301-1/+1
| | | | | new fatal_error interface to assign is_fatal_error and ne.report_error commant about Item_row
* Update copyrightmonty@hundin.mysql.fi2001-12-061-3/+3
| | | | Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
* Changed DB_TYPE_INNOBASE to DB_TYPE_INNODBmonty@hundin.mysql.fi2001-09-021-1/+3
| | | | | | Fix that DROP DATABASE works with all table types Use BULK_INSERT when inserting more than one row Better TRUNCATE TABLE
* Update to new root alloc, OPTIMIZE TABLE and some other changesmonty@donna.mysql.com2000-09-121-2/+2
|
* FLUSH TABLE table_listmonty@donna.mysql.com2000-08-221-1/+1
| | | | | Fixes for RENAME TABLE Portability fixes
* RENAME TABLE table_name TO new_table_name ; Faster Allocmonty@donna.mysql.com2000-08-211-4/+1
| | | | Small bug fixes
* Import changesetbk@work.mysql.com2000-07-311-0/+88