List:Internals« Previous MessageNext Message »
From:Jeremy Cole Date:September 1 2006 3:41am
Subject:Re: SHOW PROFILE and PATCH/5.1: Change thd->proc_info accesses to
a macro
View as plain text  
Hi Marc, All,

> Tentatively answering for Jeremy.
> 
> THD_PROC_INFO probably needs to be a macro,
> since __FILE__ and __LINE__ will be captured with later changes,
> to display the source information.
> 
> See the result of "show profile source for query 8;" in the example given :
> 
> http://jcole.us/files/show_profile2.txt
> 
> Looks very cool.

Yes, you're quite right that in order to get the file/line source 
information, it does need to be a macro unfortunately.

Regards,

Jeremy

-- 
high performance mysql consulting
www.provenscaling.com
Thread
SHOW PROFILE and PATCH/5.1: Change thd->proc_info accesses to a macroJeremy Cole31 Jul
  • Re: SHOW PROFILE and PATCH/5.1: Change thd->proc_info accesses to a macroJim Winstead31 Jul
    • Re: SHOW PROFILE and PATCH/5.1: Change thd->proc_info accesses toa macroJeremy Cole1 Aug
  • Re: SHOW PROFILE and PATCH/5.1: Change thd->proc_info accesses toa macroLenz Grimmer31 Aug
    • Re: SHOW PROFILE and PATCH/5.1: Change thd->proc_info accesses to a macroElliot Murphy31 Aug
      • Re: SHOW PROFILE and PATCH/5.1: Change thd->proc_info accesses toa macroMarc Alff1 Sep
        • Re: SHOW PROFILE and PATCH/5.1: Change thd->proc_info accesses toa macroJeremy Cole1 Sep
    • Re: SHOW PROFILE and PATCH/5.1: Change thd->proc_info accesses toa macroMarc Alff5 Sep
      • Re: SHOW PROFILE and PATCH/5.1: Change thd->proc_info accesses toa macroJeremy Cole5 Sep