From: Date: September 1 2006 5:41am Subject: Re: SHOW PROFILE and PATCH/5.1: Change thd->proc_info accesses to a macro List-Archive: http://lists.mysql.com/internals/33865 Message-Id: <44F7ABFA.4060307@provenscaling.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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