• Konstantin Osipov's avatar
    Introduce thd->query_cache_tls (thread · ea6a22bf
    Konstantin Osipov authored
    local storage for query cache). 
    We need more than one pointer in a thread to
    represent the query cache and net->query_cache_query can not be used
    any more (due to ABI compatibility issues and to different life
    time of NET and THD).
    This is a backport of the following patch from 6.0:
    ----------------------------------------------------------
    revno: 2476.1157.2
    committer: kostja@bodhi.(none)
    timestamp: Sat 2007-06-16 13:29:24 +0400
    ea6a22bf
mysql.h.pp 23.3 KB