1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

my_alloc.c

- Changed 0x%lx -> %p
array.c:
- Static (preallocated) buffer can now be anywhere
my_sys.h
- Define MY_INIT_BUFFER_USED
sql_delete.cc & sql_lex.cc
- Use memroot when allocating classes (avoids call to current_thd)
sql_explain.h:
- Use preallocated buffers
sql_explain.cc:
- Use preallocated buffers and memroot
sql_select.cc:
- Use multi_alloc_root() instead of many alloc_root()
- Update calls to Explain
This commit is contained in:
Monty
2014-08-29 14:07:43 +03:00
committed by Sergey Vojtovich
parent 3392278c86
commit 78564373fe
8 changed files with 112 additions and 75 deletions

View File

@ -785,7 +785,7 @@ public:
Information about a position of table within a join order. Used in join
optimization.
*/
typedef struct st_position :public Sql_alloc
typedef struct st_position
{
/* The table that's put into join order */
JOIN_TAB *table;