• Sergey Vojtovich's avatar
    Cherry pick dynamic array changes from commit: · 9127784d
    Sergey Vojtovich authored
    commit 85fd3d901311688e18ffce92ffc78129e5625791
    Author: Monty <monty@mariadb.org>
    Date:   Fri Aug 29 14:07:43 2014 +0300
    
        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
    9127784d
array.c 10.1 KB