• Davi Arnaut's avatar
    Bug#38560: valgrind warnings on PB due to query profiling · c3802381
    Davi Arnaut authored
    Fix for a valgrind warning due to a jump on a uninitialized
    variable. The problem was that the sql profile preparation
    function wasn't being called for all possible code paths
    of query execution.
    
    The solution is to ensure that query profiling is always
    started before dispatch_command function is called and to
    explicitly call the profile preparation function on bootstrap.
    c3802381
sql_parse.cc 222 KB