~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/select.cc

  • Committer: Lee Bieber
  • Date: 2011-03-13 16:37:38 UTC
  • mfrom: (2227.4.18 session2)
  • Revision ID: kalebral@gmail.com-20110313163738-7ti21zk40o2xi3ew
Merge Olaf - Refactor Session

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
bool Select::execute()
38
38
{
39
39
  TableList *all_tables= lex().query_tables;
40
 
  getSession()->status_var.last_query_cost= 0.0;
41
 
  bool res= execute_sqlcom_select(getSession(), all_tables);
 
40
  session().status_var.last_query_cost= 0.0;
 
41
  bool res= execute_sqlcom_select(&session(), all_tables);
42
42
 
43
43
  return res;
44
44
}