• unknown's avatar
    Insert profiling instructions into s-p code to make each statement · 7eb9aac7
    unknown authored
    be profiled separately.
    
    Expand the time formats in i_s.profiling to wide enough for larger
    numbers.
    
    
    mysql-test/r/profiling.result:
      Show that each query inside a procedure is profiled separately.
    mysql-test/t/profiling.test:
      Show that each query inside a procedure is profiled separately.
    sql/sp_head.cc:
      Poke profiling into stored-procedure code.  For statement parts only
      of routines, process them as profilable discrete queries.
    sql/sql_profile.cc:
      Encode decimal size correctly.
    7eb9aac7
sql_profile.cc 21.8 KB