• Sergey Vojtovich's avatar
    MDEV-8010 - Avoid sql_alloc() in Items (Patch #1) · 31e365ef
    Sergey Vojtovich authored
    Added mandatory thd parameter to Item (and all derivative classes) constructor.
    Added thd parameter to all routines that may create items.
    Also removed "current_thd" from Item::Item. This reduced number of
    pthread_getspecific() calls from 290 to 177 per OLTP RO transaction.
    31e365ef
sql_admin.cc 44 KB