~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/show.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:
38
38
bool statement::Show::execute()
39
39
{
40
40
  TableList *all_tables= lex().query_tables;
41
 
  getSession()->status_var.last_query_cost= 0.0;
42
 
  bool res= execute_sqlcom_select(getSession(), all_tables);
 
41
  session().status_var.last_query_cost= 0.0;
 
42
  bool res= execute_sqlcom_select(&session(), all_tables);
43
43
 
44
44
  return res;
45
45
}