~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/show.cc

  • Committer: Olaf van der Spek
  • Date: 2011-03-10 10:44:18 UTC
  • mto: This revision was merged to the branch mainline in revision 2233.
  • Revision ID: olafvdspek@gmail.com-20110310104418-9nye3afuge7hnf5g
Statement::session()

Show diffs side-by-side

added added

removed removed

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