List:Internals« Previous MessageNext Message »
From:Karthik Gurukuntala Date:February 25 2010 12:08pm
Subject:Fw: Where is sum operation implemented?
View as plain text  

Dear All,

 I am new to MySQL codebase and its development. I am unable to find where the SUM()
aggregation operation of SELECT implemented. I mean, in which file in sql folder of the
codebase, can I see the implementation of SUM().

The SUM() I mean, i.e., as in : SELECT SUM(salary) from salaries;
 
I am studying this :
http://forge.mysql.com/wiki/Overview_of_query_execution_and_use_of_temp_tables
 However, I dint find mysql_parse()  in the sql_select.cc. Am I understanding anything
wrong? I donno.

Any guidance or reference is a lot of help.


Regards,
Karthik G


________________________________
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.


      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
http://in.yahoo.com/

Thread
Fw: Where is sum operation implemented?Karthik Gurukuntala25 Feb
  • Re: Where is sum operation implemented?Mark Leith25 Feb
    • Re: Where is sum operation implemented?Jørgen Løland25 Feb
      • Re: Where is sum operation implemented?Karthik Gurukuntala25 Feb
        • Re: Where is sum operation implemented?Jørgen Løland26 Feb